Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Solution Explorer not showing files and folders

Suddenly my solution tab stopped working on my Visual Studio 2013. Even it is existing project or brand new project it does not show files and folders in Solution Explorer. (File is attached)

I tried to reset settings, restarted PC but did not work. http://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx

I did not installed any new extensions recently I was working what ever I had for a while.

Is there anything else I can do?

enter image description here

Update;

I am also getting this weird message when I click options Icon:

enter image description here

like image 676
Teoman shipahi Avatar asked Nov 13 '14 15:11

Teoman shipahi


People also ask

How do I show all files in Solution Explorer?

Select the project in Solution Explorer. 4. Click "Show All Files".

How do I enable file Explorer 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 do I find files in Visual Studio Solution Explorer?

With ReSharper installed Shift + Alt + L will find the current file in Solution Explorer in Visual Studio 2008+. when you track you don't need this shortcut.

How do I show all folders in Visual Studio?

Open your project in Visual Studio > click the Show All Files button > expand the bin , Debug > select and right-click the parent folder > choose Include in Project option. 4).


3 Answers

Check this out: http://www.hjerpbakk.com/blog/2014/7/25/no-content-in-solution-explorer-using-visual-studio-2013

To quote... "This issue is because of a MEF cache corruption. Installing the feedback extension (or installing any extension) will invalidate the cache causing VS to rebuild it."

Link to bug report: https://connect.microsoft.com/VisualStudio/feedback/details/794111/no-exports-were-found-that-match-the-constraint-contract-name

like image 199
RizJa Avatar answered Oct 20 '22 05:10

RizJa


Just to get the answer here on the same page as the question: users should install (or uninstall) an extension to Visual Studio as this will force a rebuild of the MEF cache. The linked article suggested installing the Microsoft Visual Studio 2013 Feedback Tool extension, which I did do and it worked, but any extension installed through the Tools, Extensions and Updates menu would probably do the job.

I think the cause of this might have been related to an overzealous anti-virus program, but I can't say for sure.

like image 12
MalcLear Avatar answered Oct 20 '22 05:10

MalcLear


it worked to click "show all files" in the Solution explorer!

like image 10
huijuanli Avatar answered Oct 20 '22 04:10

huijuanli