2015-02-10 104 views
1

我跑進其中每次我嘗試編譯只使用V90編譯工具窗口2013的測試項目中的問題,我得到這個錯誤:編譯在VS 2013使用的編譯工具V90錯誤

1>------ Build started: Project: Test Console App, Configuration: Debug Win32 ------ 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets(62,5): error : Required file "" is missing. 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 

它工作正常如果我使用VS 2008進行編譯,但使用Visual Studio 2013或2012感覺更舒適,Intellisence更好,以及顏色等等。

我安裝了windows 7.1 SDK,以及使用2010編譯器工具更新包。我有VS 2008和VS 2013以及所有C++ Redists。

我無法編譯我正在處理的項目,因爲我們有2008年編譯的lib,我們沒有源代碼給我們提供鏈接器錯誤。

謝謝

+0

'錯誤:需要的文件「」缺失。「我認爲項目文件有錯誤。在文本編輯器中打開它並查看xml。 – drescherjm 2015-02-10 14:53:32

+0

當我開始一個新的測試項目時,也會出現錯誤,正如您在上面所看到的。 – Fredaikis 2015-02-10 15:04:30

+0

我仍然會調查項目文件。 – drescherjm 2015-02-10 15:09:37

回答

2

答案是要安裝visual studio 2010。 Express很好地工作。 只是其他人同樣的問題,這裏就是你要做的:

Install VS 2013/2012 depending on which one you want. 
Install VS 2008 and 2010 (can be express). 

If that doesnt pick up your compiler tools v90/v100 then just follow these instructions: 
-Uninstall all C++ 2010 Redists if any, or SDK 7.1 won't install. 
-Install Windows SDK 7.1 and then download the Windows C++ Compiler Tools 2010 update for the SDK. 
-Install the C++ Redists again. 
-Reboot. 

-Enjoy! :P