[英]Build a solution with MS build when the solution configuration doesn't match all projects
我有一个具有配置的解决方案,我们称之为A
。 该解决方案中 80% 的项目也有配置A
但其余项目没有。 尽管它们确实需要构建。
当我使用msbuild proj.sol /p:Configuration=A /p:Platform=x64
我收到这样的错误消息
error MSB4057: The target "Build" does not exist in the project.
看来我可以构建项目的移动,但不能构建配置名称与解决方案不匹配的项目。
您需要更新您的解决方案配置“A”以确保其他项目具有适用于解决方案配置“A”的有效项目配置
msbuild proj.sln /p:Configuration=A /p:Platform=x64
我刚刚遇到了同样的问题。 它已通过安装F# Tools for Visual Studio Express 2012 for Web并按照Xamarin 论坛中描述的步骤重新启动 Xamarin 来修复
该错误已提交here
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.