Sometime you may came across with this problem that, you are not able to view the solution file in Visual Studio though you have solution file in proper place and the file physically exists in solution folder . You may just wonder why you are not able to view the solution file. Yeah, it could be some missing settings with in visual studio.
If you create any Visual Studio Project, by default you will get below view in Solution Explorer ( Solution file and the Project files associated with in solution ).
But in case, your solution explore looks like as below, where you don’t have the solution file listed.
You have to go to Tools > Options > Project and Solutions > General , where you can see “Always Shows Solution” is Unchecked.
Once you checked “Always Shows Solution” , you will able to view the Solution file with in solution explorer.
Note : By default “Always Shows Solution” is Checked.
This things is really required when you want to add multiple project in a single solution, which is most common. Now, if you have multiple project already added with in solution, this things will not work, which means, if you unchecked the “Always Shows Solution” option you can still able to view the solution file as it has been associated with multiple projects ( Refer below image ).
Hope this will help.
Thanks !
Aj
Hello there, simply turned into aware of your blog thru Google, and found that it is really informative. I?m gonna watch out for brussels. I will appreciate if you continue this in future. A lot of other folks will be benefited from your writing. Cheers!