VS 2008 Solution Explorer does not show solution

I tried this in several different ways, and it always seems unsuccessful.

  • Create a new empty solution (my.solution.name). Then add the new ClassLibrary project (my.project.name) to the solution. This causes only my.project.name to be displayed in the solution explorer.

  • Create a new ClassLibrary (my.project.name), which should have the solution my.project.name and the project my.project.name. I see the project my.project.name.

Without a solution level, I cannot add any new projects to my solution. It seems to have just begun today.

+7
visual-studio-2008 solution-explorer
source share
3 answers

If you add another project, a solution will appear, so if you only see one project in the solution, but if more than one project is connected to the same solution, you will see the solution.

You can add a new project from the File menu, then select Add to Solution.

And I think this problem is solved using SP1.

Update:

Although my answer explains why this is happening, but I believe that the correct solution is https://stackoverflow.com/a/312977/

+6
source share

There is a parameter in Visual Studio 2008 settings that controls this:

  • Open the options dialog box Tools > Options ...
  • Select Projects and Solutions > General in the navigation bar.
  • Check Always show solution

If this option is enabled, the solution will always be displayed in the solution explorer, even if there is only one project in the solution.

+8
source share

All you have to do is Reset Window Layout in the Windows menu.

+2
source share

All Articles