如何解决"Build:Unknown编译器选项'listemittedfiles'."在Visual Studio 2015 Update 3上吗? [英] How to solve "Build:Unknown compiler option 'listemittedfiles'." on visual studio 2015 update 3?
问题描述
更新NuGet类型脚本包后,我遇到了一个常见的构建错误问题使用代码1退出了tsc.exe".搜索后,我找到了解决方案.根据建议,我安装了另外两个名为Microsoft.TypeScript.Compiler和Microsoft.TypeScript.MSBuild的NuGet程序包.安装这些文件后,tsc.exe退出,代码为1,问题已解决.但是与此同时,在构建未知的编译器选项'listemittedfiles'"时出现了一个新问题.
我试图通过此 Typescript构建失败的建议来解决该问题.
但是这个问题仍然没有改善.
任何人都可以提供解决方案吗?请提前多谢.
我的客户项目结构看起来像图像请单击此处查看图像
我建议您尝试使用以下链接安装 TypeScript 2.0.6 来解决此问题:
- Visual Studio 2015 TypeScript工具(2.0 .6在撰写本文时)
这还将使MSBuild指向正确的TypeScript构建,该构建完全支持--listEmittedFiles
命令开关.
另请参见此答案和/或
I was trying to solve it by the suggestion of this Typescript build failure. But still there has no improvement of this problem. Can anyone be able to provide a solution please? Please take a lots of thanks in advance. My client project structure is looks like the image Please click here to view the image I suggest you to try to fix this issue by installing TypeScript 2.0.6 using the following link: This will also point MSBuild to the proper TypeScript build, which fully supports the See also this answer and/or this blog article I wrote on this topic for further details and references about this issue. 这篇关于如何解决"Build:Unknown编译器选项'listemittedfiles'."在Visual Studio 2015 Update 3上吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
--listEmittedFiles
command switch.