我想从命令行生成带有msbuild的VS2010 .sln文件(项目名为.net 4.0)。我预计这个工作......从msbuild命令行生成VS2010解决方案文件
>C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe application.sln
不过,我得到这个消息:
"Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5"."
构建继续,但它无法找到我的任何引用和失败。
我可能会错过一些明显的东西......任何帮助将不胜感激。
感谢,
-dk
我从中运行它的脚本有一个错字,确实在调用3.5 msbuild。一旦我真的称为正确的exe,它就像一个魅力。 – 2010-06-24 03:21:49