Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012/2013 fails to display solution explorer

Tags:

I have this problem with both VS2012 and 2013. When I load an existing or create a new solution I get a ProviderPackage error - An exception was thrown during package instantiation and was caught in the package manager. After I close the error dialog, the solution explorer window is empty, although there are solution files open in the editor.

The ActivityLog.xml file shows different modules loading when the error occurs, depending on the project type. Is there a way that I can determine the common thread between 2012 and 2013 that is causing this error.

There is probably a corrupted dll which I have to replace. I am dead in the water until I figure this out.

Help.

like image 977
BedfordNYGuy Avatar asked Feb 20 '14 13:02

BedfordNYGuy


People also ask

Why is my Solution Explorer not working in Visual Studio?

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.

Where is the Solution Explorer tool window in Visual Studio?

By default, the Solution Explorer tool window appears as a pane in the upper-right side of the Visual Studio integrated development environment (IDE). 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.

How to view the solution file in Visual Studio Code?

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 .

What is the Solution Explorer window in SSIs?

The Solution Explorer window is where you can find all your created SSIS packages, project connection managers, project parameters, and any other miscellaneous files needed for the project, such as installation documents.


2 Answers

Clearing the Visual Studio Component Model Cache worked for me (details: Error message "No exports were found that match the constraint contract name")

like image 104
CamM Avatar answered Dec 13 '22 18:12

CamM


None of the previous suggestions worked for me, but this one did: http://www.hjerpbakk.com/blog/2014/7/25/no-content-in-solution-explorer-using-visual-studio-2013

This issue is because of a MEF cache corruption. Installing [or uninstalling any extension] will invalidate the cache causing VS to rebuild it.

like image 24
SFlagg Avatar answered Dec 13 '22 20:12

SFlagg