[英]Solution folder in Visual Studio 2010 does not build
I have one solution with five projects and one solution folder. 我有一个包含五个项目的解决方案和一个解决方案文件夹。 All project has a reference to project inside solution folder.
所有项目都有对解决方案文件夹中项目的引用。 When I clean solution and build, projects in solution folder does not build.
当我清理解决方案并进行构建时,解决方案文件夹中的项目无法构建。 I need to build project in solution folder before I build the solution.
在生成解决方案之前,我需要在解决方案文件夹中生成项目。
How can I fix this problem? 我该如何解决这个问题?
It sounds like a project is dependent on another project in your solution (not uncommon). 听起来一个项目依赖于解决方案中的另一个项目(这并不罕见)。
You can change the order that your projects build in Visual Studio so that the dependency tree is satisfied when building a solution. 您可以更改项目在Visual Studio中构建的顺序,以便在构建解决方案时满足依赖关系树。
If you right click on the solution in the Solution Explorer and choose 'Project Dependencies...' you will be able to tell Visual Studio which order to build your projects. 如果在解决方案资源管理器中右键单击该解决方案,然后选择“项目依赖项...”,您将能够告诉Visual Studio建立项目的顺序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.