2013-10-11 93 views
0

我正在嘗試通過following these instructions for windows 7 described here將打字稿集成到vs 2010中。Visual Studio 2010中的Typescript 0.9.1.1

請不要將其標記爲重複的,因爲我對提供的解決方案存在問題,無法對解決方案發表評論。

I followed your instructions closely but sadly it's not working for me. During installation of typescript I get an warning from VisualStudio concerning devenv.exe: Invalid Command Line. Unknown Switch : updateConfiguration.

After clicking okay the installer reports that the installation was successful. when I start VS without creating or opening a project, after a while I am greeted with another error:

enter image description here

Confirming, that I do not want to get bugged about this again i create a new typescript(!) project, which gets denied with a more severe notification:

enter image description here

I checked all the folder paths I added as parameters to the .msi file and it looks like everything is in place. Any ideas how to resolve this?

Thanks!

+0

如果您將問題中的錯誤對話框作爲文本添加進來,而不是發佈指向圖像的鏈接,將會更加有益。使其成爲可搜索的,並因此更容易找到具有相同問題的其他人。 – Henrik

+0

下一次,我會這樣做。我很匆忙,從這些盒子裏複製是不可能的,所以我趕緊拍了一些鏡頭。 – RainMaker

回答

0

我想在你引用的答案中缺少文件夾重定向,VSTools msbuild文件夾沒有被重定向。

如果打開%programfiles%\msbuild\Microsoft\VisualStudio\v11.0\Typescript文件夾,目標文件是否存在?嘗試將整個文件夾複製到%programfiles%\msbuild\Microsoft\VisualStudio\v10.0\Typescript

更嚴重的是,Typescript通常用於Web開發,Web開發項目類型幾乎100%向後兼容VS2012,VS2013和VS2010,所以爲什麼不升級以利用這些功能。

它很難成爲一個支持問題,因爲在VS2010中重新打印Typescript肯定會將您置於不受支持的存儲桶中。

+0

感謝您的輸入。通過複製文件夾,我可以創建一個全新的Typescript項目。語法突出顯示和智能感知無法正常工作,但我認爲這就是我在「不受支持的存儲桶」中得到的結果 唯一不斷彈出的是關於「數據庫專業人員的VSTS」的錯誤。 我的公司只有vs2010許可,所以我需要堅持下去。 – RainMaker

+0

VSTS數據庫專業人員的事情不應與TypeScript相關......但您可以嘗試重新安裝/修復它。 – jessehouwing