【发布时间】:2017-07-28 11:52:45
【问题描述】:
我正在测试 .NET Core / TypeScript 项目从 VS 2015 到 VS 2017 的迁移。
在 VS 2017 中构建失败,Microsoft.TypeScript.targets 出现此错误:
MSB4064 The "PreferredUILang" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property.
VS 2017中TypeScript的版本是2.1.5,不过我已经安装了Visual Studio 2015的2.2.1 SDK。
我还注意到 Visual Studio 2017 还没有 2.2+ SDK 版本。
这会导致冲突吗?这是我现在可以解决的问题,还是需要等待 TypeScript SDK for VS 2017 的更新达到 2.2.1+?
感谢您在这方面的任何帮助!
【问题讨论】:
-
通过更改打字稿编译器文件夹名称来更改我正在做的打字稿版本。但是我必须记住我的视觉工作室调用的文件夹 1.8 包含打字稿 2.1。
-
请注意 - 使用更新 2,也将 TS 2.2.2 引入 Visual Studio 2017,此问题不再存在。
标签: visual-studio typescript visual-studio-2017