我想在使用打字稿的Visual Studio中構建一個應用程序。我按照指示here並安裝了項目需要版本的打字稿編譯器(2.2)。我做到了與NPMVisual Studio 2017找不到打字稿編譯器?
npm install typescript
我通過
tsc --version
驗證了我的安裝和它返回
Version 2.2.2
預計。然而,當我去建立我的解決方案時,我不斷收到以下錯誤:
Your project specifies TypeScriptToolsVersion 2.2, but a matching compiler was not found. The latest available TypeScript compiler will be used (2.3). To remove this warning, install the TypeScript 2.2 SDK or update the value of TypeScriptToolsVersion.
我試過谷歌並沒有任何運氣。有人能指出我走向解決方案的道路嗎?