how to make solution visible in solution explorer

2020-06-07 07:00发布

问题:

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.

回答1:

you can make the solution always show by Options dialog



回答2:

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.