Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'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.

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.

enter image description here

Please tell me how to resolve the above issue.

-Pradeep

like image 502
Pradeep Avatar asked Dec 01 '22 12:12

Pradeep


1 Answers

I was having this same issue. I opened the .cproj file and changes the line <TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>

to

<TypeScriptToolsVersion>2.0</TypeScriptToolsVersion>

and everything worked

like image 112
David Snelson Avatar answered Dec 05 '22 18:12

David Snelson