如何将不同项目合并为单一解决方案 [英] How Do I Merge Different Projects Into A Single Solution

查看:482
本文介绍了如何将不同项目合并为单一解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好编码员,

请帮助我将四个不同的项目合并到C#中的一个解决方案中。我还是个假人。

问候,

Godfrey

Hello coders,
Kindly help me merger four different projects into one solution in C#. I'm still a dummy.
Regards,
Godfrey

推荐答案

主要是你应该使用解决方案资源管理器(来自Visual Studio)来管理它们。通过在解决方案资源管理器中使用右键单击,将打开一个上下文菜单,上下文菜单中的命令(取决于您之前选择的项目)是非常自我解释的!



示例1:假设您刚刚创建了解决方案并想要添加新项目,只需选择解决方案,然后从上下文菜单(右键单击)使用命令Add-> New Project。 br />


示例2:如果您想要添加现有项目,只需选择上面示例中的解决方案并使用添加 - >现有项目,然后您将提示从其位置选择项目。
Mainly you should use "Solution Explorer" (from Visual Studio) to manage them. By using "right click" in solution explorer a context menu will be open and the commands from the context menu (that depends on what "item" did you select before) are very self explanatory!

Example1: supposing that you just created the solution and want to add a new project, just select the solution, and from the context menu (right click) use the command "Add->New Project".

Example2: if you have want to add an existing project, just select the solution like in the example above and use "Add->Existing Project", then you will be prompt to select the project from its location.


这篇关于如何将不同项目合并为单一解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆