简体   繁体   English

Visual Studio 2010中的解决方案文件夹未生成

[英]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.

相关问题 Visual Studio,将解决方案复制到内部版本的文件夹 - Visual Studio, Copy Solution to Folder On Build Visual Studio 2010 —选择的解决方案配置会影响批量生成的输出 - Visual Studio 2010 — selected Solution Configuration affecting Batch Build output Visual Studio 2010:带有引用库的解决方案需要双重构建 - Visual Studio 2010: solution with referenced library requiring double build Visual Studio 2010有时构建配置文件夹名称只是第一个单词,有时它是整个字符串。 一个人如何控制呢? - Visual Studio 2010 sometimes build configuration folder name is only first word, sometimes its the whole string. How does one control this? 什么是 Visual Studio 中的解决方案文件夹? - What is a solution folder in Visual Studio? 使用Visual Studio 2010构建Visual Studio 6项目 - Build Visual Studio 6 project with Visual Studio 2010 为什么Visual Studio 2010要求我更新2010年创建的解决方案? - Why does Visual Studio 2010 ask me to update a solution created in 2010? Visual Studio解决方案文件 - “Build.0”是什么意思? - Visual Studio solution file - what does the “Build.0” mean? 生成失败:Visual Studio 2010 - Build Failed: Visual studio 2010 以编程方式构建Visual Studio解决方案? - Programmatically build a Visual Studio solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM