angular - 使用 VS 2015 的 Angular 2 应用程序的 VSTS 中的“未知编译器选项库”

标签 angular typescript visual-studio-2015 azure-devops azure-pipelines

我使用以下链接在 visual studio 2015 中使用 typescript 2.0 版本开发了简单的 angular 2 应用程序。

https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html

然后,我为该应用程序配置了 DEVOPS,这意味着每次我使用 visual studio 2015 将代码 checkin 团队基础服务器中可用的团队项目时。它会自动开始为我的应用程序构建那个时候我遇到异常“Unknown Compiler Option lib”如下图。

enter image description here

请告诉我如何解决上述问题。

-普拉迪普

最佳答案

我遇到了同样的问题。我打开了 .cproj 文件并更改了行 <TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>

<TypeScriptToolsVersion>2.0</TypeScriptToolsVersion>

一切正常

关于angular - 使用 VS 2015 的 Angular 2 应用程序的 VSTS 中的“未知编译器选项库”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40844416/

相关文章:

angular - 如何在 Electron 中将 livereload 与 Webpack 一起使用?

webpack - 我如何设置 webpack 不每次都重新编译 Angular ?

c# - .net core 2.2 带有 typescript 和 signalr

c++ - 有什么方法可以在打开应用程序的 VS 中将批处理文件作为构建后事件运行?

javascript - Nativescript + Angular,如何在嵌套页面路由器导出中到达子路由?

angular2 无法解析 'RequestOptions' 的所有参数(?)

c# - StaticInjectorError(AppModule)[AuthGuard] 登录后

html - 无法通过 btn-group open 打开下拉按钮组

visual-studio-2015 - 从 VS Enterprise 降级

visual-studio - '[some_platform, 0]' 在 Visual Studio 中是什么意思?