【发布时间】:2018-03-28 12:30:23
【问题描述】:
尝试在 Windows 10 上新安装的 Visual Studio 2017 中编译 Cordova 应用程序时出现错误(仍安装以前的 Visual Studio 2015)。
错误代码是 MSB6001(对不起,德语)。英文翻译:无效的命令行选项“tsc.exe”。该值不允许为 NULL。参数名称:path1
我试图用谷歌搜索这个问题。这是 TypeScript 的问题。似乎 Visual Studio 没有找到正确的版本(或根本没有)。
Michael Samteladze postet a solution where the correct TypeScript Version is written in the .jsproj file.This is the same solution silver server proposed。然而,这无济于事。 github 上有一些关于旧版本 Visual Studio 的旧讨论。
【问题讨论】:
标签: cordova typescript visual-studio-2017