如何添加两个项目。 Visual Studio 2008

时间:2022-05-17 22:55:02

I just created a project so my Solution Explorer looks like this: solnexplorer http://www.kalleload.net/uploads/gwdgdm/yszoerpnieed.jpg

我刚创建了一个项目,所以我的解决方案资源管理器看起来像这样:solnexplorer http://www.kalleload.net/uploads/gwdgdm/yszoerpnieed.jpg

But I want to add another project which is related to this project but it's going to be a class library and it's going to output a DLL that I could use in any other project.

但是我想添加另一个与该项目相关的项目,但它将是一个类库,它将输出一个我可以在任何其他项目中使用的DLL。

So how can I create a "solution" with multiple projects?

那么如何创建包含多个项目的“解决方案”呢?

2 个解决方案

#1


Just a related information:

只是相关信息:

There is also an option called "Always show solution" (in Tools/Options/Projects and Solutions). When enabled, the solution is always shown, even if there is only 1 project.

还有一个名为“始终显示解决方案”的选项(在工具/选项/项目和解决方案中)。启用后,即使只有一个项目,也始终显示解决方案。

#2


File -> Add -> New project..

文件 - >添加 - >新项目..

#1


Just a related information:

只是相关信息:

There is also an option called "Always show solution" (in Tools/Options/Projects and Solutions). When enabled, the solution is always shown, even if there is only 1 project.

还有一个名为“始终显示解决方案”的选项(在工具/选项/项目和解决方案中)。启用后,即使只有一个项目,也始终显示解决方案。

#2


File -> Add -> New project..

文件 - >添加 - >新项目..