[英]How to include a project in a build that is not a dependency in Visual Studio c#
I have two projects in my solution, A and B. A is the start-up project. 我的解决方案中有两个项目,A和B。A是启动项目。 B references A. B参考A。
After making changes to both A and B when I start the solution A gets built, but not B. This makes sense since A does not reference B and A is the start-up project. 在我启动时对A和B都进行更改之后,构建了解决方案A,但没有构建B。这是有道理的,因为A没有引用B,并且A是启动项目。
I would like both to build every time I start the solution. 每次启动解决方案时,我都希望两者都构建。 Currently I get round this problem by manually building B before running the solution. 目前,我通过在运行解决方案之前手动构建B来解决此问题。
How can this be achieved? 如何做到这一点?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.