I have tried this a few different ways and it always seems to fail.
Create a new Blank Solution (my.solution.name). Then add a new ClassLibrary project (my.project.name) to the solution. This results in the solution explorer only showing my.project.name.
Create a new ClassLibrary (my.project.name) which should have my.project.name solution and my.project.name project. I only see my.project.name project.
Without the solution level I'm unable to add any new projects to my solution. This seems to have just started today.
If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.
The Solution Explorer lists files included in the project. In addition to that, files not included in the project but contained in the project folder can be shown using the 'Show All Files' button at the top of Solution Explorer.
In Visual Studio, click File > Open > Folder. Navigate to the folder, and click Select Folder. This opens the folder in Solution Explorer and displays its contents, files and any subfolders.
Add files to a solution To add an item to a solution, on the context (right-click) menu of the solution node in Solution Explorer, select Add > New Item, or Add > Existing Item. A solution file is a structure for organizing projects in Visual Studio.
There is a setting in the Visual Studio 2008 options that controls this:
If this option is enabled, then the solution will always be visible in the Solution Explorer, even if there is only 1 project in the solution.
If you added another project the solution will appear, so if its just one project in the solution you will not see the solution, but if more than one project attached to the same solution you will start seeing the solution.
You can add new project normally from file menu then select add to solution.
And i think this problem solved by SP1.
Update:
While my answer explain why this is happening but I beleive that the correct solution is https://stackoverflow.com/a/4946248/20126 from @bcpettifer
All you need to do is to Reset The windows layout in Windows Menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With