当我运行msbuild来构建一个vc2010项目时,我收到以下错误:
error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists
on disk.
Run Code Online (Sandbox Code Playgroud)
修复已尝试
似乎没有正确设置MSBuildExtensionsPath32并且设置MSBuildExtensionsPath没有帮助
SET MSBuildExtensionsPath="C:\Program Files\MSBuild"
Run Code Online (Sandbox Code Playgroud)
如果您有任何想法阻止正确设置此变量,请告诉我.
我正试图从我的桌面启动Visual Studio 2010,我只是弹出这个错误框说"未知错误"...
任何人都知道为什么会发生这种情况?