2015-12-19 58 views
11

非常令人沮喪的是,我處於TypeScript正在編譯的情況,但我仍然收到Intellisense錯誤。TypeScript編譯正常,但仍然收到intellisense錯誤

這是在Visual Studio 2015年打字稿1.7,更新1

Error saying TypeScript 1.5 feature. Current language level is 1.4.

Error saying Symbol Component cannot be properly resolved, probably it is located in inaccessible module.

當我做出改變,並點擊保存然而,它編譯罰款,和底層的Javascript得到更新。

任何想法?

乾杯

+0

您是否設法找到解決方法?我注意到這不會發生在角度的alpha版本中。 – gamesmad

+1

這是ReSharper,你可以在RS設置中設置版本 – JMK

回答

1

你可以看看你的.csproj文件,如果你有一個C#項目爲基礎的。有時候打字稿的版本不正確。尋找一個字符串:

<TypeScriptToolsVersion>version</TypeScriptToolsVersion> 

應該有1.7。

+2

我有同樣的問題,我的csproj文件說1.7,但我仍然得到intellisense錯誤... –

相關問題