如何使解决方案在 Visual Studio 2010 或 Visual Studio 2012 的解决方案资源管理器窗口中可见?
我使用的是Visual Studio2010。我面临一个问题,当我创建一个新的 Web 项目时,Visual Studio 会创建项目,但不会在解决方案资源管理器中显示其解决方案。 另一件事是,我想用我现有的 Web 项目添加一个项目,如何用这个项目添加它,我只知道通过右键单击其解决方案来添加另一个项目。首先请告诉我如何使解决方案对我之前制作的现有项目和我将创建的其他项目可见。
i am using visual studio2010. i am facing a problem that when i create a new web project then visual studio makes project and don't show its solution in solution explorer.
And the other thing is that i want to add a project with my existing web project how i can add it with this one, i just know to add another project by its solution right click. first please tell me how i can make solution visible for my existing projects that i made before and for other projects that i will create.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使解决方案始终通过选项对话框显示

you can make the solution always show by Options dialog

本质上,您应该点击此链接来创建新的解决方案:
http://msdn.microsoft .com/en-us/library/zfzh36t7.aspx
它还告诉您如何将现有项目添加到新解决方案中。确实没有那么多。
你的问题不是你看不到解决方案。你只是创建了一个项目,而不是一个解决方案。所以我会创建一个新的解决方案,然后将现有项目添加到其中。
另外,正如 @Devjosh 在创建新项目时的评论中提到的,您可以使用复选框创建新的解决方案。
Essentially you should follow this link to create a new solution:
http://msdn.microsoft.com/en-us/library/zfzh36t7.aspx
It also tells you how to add existing projects to new solutions is well. There really isn't that much to it.
Your issue isn't you cannot see the solution. It is that you have created a project only and not a solution. So I would create a new solution and then add existing projects to it.
Also as mentioned by @Devjosh in the comments when creating a new project you can say create new solution with the checkbox.