dk.*_*dk. 14 msbuild visual-studio-2010
我想从命令行使用msbuild构建我的VS2010 .sln文件(项目是.net 4.0).我希望这个工作......
>C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe application.sln
Run Code Online (Sandbox Code Playgroud)
但是我收到这条消息:
"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
Les*_*icz 10
本文可能有用:http://blog.prabir.me/post/Downgrading-VS2010-solutions-to-VS2008.aspx
它似乎没有针对正确的msbuild版本(错误来自3.5 msbuild ver),尝试打开Visual Studio 2010命令提示符,转到解决方案目录并运行msbuild.exe SolutionName.sln
归档时间: |
|
查看次数: |
22617 次 |
最近记录: |