[英]'Unknown Compiler Option lib' in VSTS of Angular 2 Application using VS 2015
I had developed simple angular 2 application with typescript 2.0 version in visual studio 2015 by using below link. 我使用以下链接在visual studio 2015中开发了带有typescript 2.0版本的简单角度2应用程序。
https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html https://angular.io/docs/ts/latest/cookbook/visual-studio-2015.html
Then after, I configured the DEVOPS for that application means when every I check in the code into my team project available in team foundation server using visual studio 2015. it will automatically start build for my application at that time I got exception like " Unknown Compiler Option lib " this below figure. 之后,我为该应用程序配置了DEVOPS,这意味着每当我使用visual studio 2015将代码检入团队基础服务器中的团队项目中时,它会自动开始为我的应用程序构建,当时我得到例外“ Unknown Compiler”选项lib “下图。
Please tell me how to resolve the above issue. 请告诉我如何解决上述问题。
-Pradeep -Pradeep
I was having this same issue. 我遇到了同样的问题。 I opened the .cproj file and changes the line <TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
我打开.cproj文件并更改了行<TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
to 至
<TypeScriptToolsVersion>2.0</TypeScriptToolsVersion>
and everything worked 一切正常
I had the same issue today after manually installing the latest version of TypeScript for Visual Studio 2015: https://www.microsoft.com/en-us/download/details.aspx?id=48593 . 在为Visual Studio 2015手动安装最新版本的TypeScript后,我今天遇到了同样的问题: https : //www.microsoft.com/en-us/download/details.aspx? id = 48593。 To solve this, Go the source folder of your project, which for me is C:\\Users\\\\Documents\\Visual Studio 2015\\Projects\\. 要解决此问题,请转到项目的源文件夹,对我来说是C:\\ Users \\\\ Documents \\ Visual Studio 2015 \\ Projects \\。 Open the file ends with .csproj and changes the line 打开文件以.csproj结尾并更改该行
<TypeScriptToolsVersion>older_version_number</TypeScriptToolsVersion>
to 至
<TypeScriptToolsVersion>2.9</TypeScriptToolsVersion>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.