I am trying to update my Visual Studio 2015 + Cordova + TypeScript project to use TypeScript version to 1.6.0-beta
. I am currently using 1.5.3
.
I am able to use NPM to install the latest version, but my project continues using the old version.
npm install -g typescript
How can I make my project use the latest TypeScript version?
Locations of TypeScript Versions:
1.5.3
= C:Program Files (x86)Microsoft SDKsTypeScript1.5
1.6.0-beta
= C:UsersXXXAppDataRoaming
pm
--------------------- Updated 9/4/2015 --------------------------
I updated the projects .jsproj file XML element <TypeScriptToolsVersion>1.5</TypeScriptToolsVersion>
to <TypeScriptToolsVersion>1.6.0-beta</TypeScriptToolsVersion>
. I added the folder 1.6.0-beta
and NPM files to C:Program Files (x86)Microsoft SDKsTypeScript
and VS2015 doesn't use the latest TypeScript.
Am I missing something?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…