2015-02-10 102 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