Reputation: 23132
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?
Update;
I am also getting this weird message when I click options Icon:
Upvotes: 27
Views: 154676
Reputation: 36
I came across this post looking for a solution about some methods not being found on Solution Explorer. Just in case, VS 2022 has options to search for methods within File Contents, see image below, activating this option my issue was solved:
Upvotes: 1
Reputation: 89
with VS 2022 most of you must be trying to create a .NET 6 framework solutions. But you need to install the .NET 6 sdk separately for your projects to be listed under solution.
Installing .NET 6 SDK, resolved my issue.
Upvotes: 0
Reputation: 749
For future Googlers / related issue in 2023, "Explorer" was not showing up for me in the sidebar at all. No way to view files and folders.
I had to delete the C:\Users\%username%\AppData\Roaming\Code\User\globalStorage
folder to get it to show up.
Upvotes: 2
Reputation: 241
Rebuilding didn't work for me, and I wasn't keen on installing another extension.
Got it to work in the following three steps:
Upvotes: 24
Reputation: 11
Even, it will work if you clear your local app data for visual studio. %temp% AppData\Roaming\Microsoft\VisualStudio. %temp% AppData\Local\Microsoft\VisualStudio. Delete the files and restart your visual studio.
Upvotes: 1
Reputation: 506
As this issue is because of a MEF cache corruption. Just delete your .vs folder and re-open your solution.
Upvotes: 3
Reputation: 11
Copy and paste the folders and files at the project location for integrating the project module and build the project even though namespace has correct. This are the way to resolve
The file/folder is not visible proper so Right-click
improper visible file/folder and click the Include in Project
Build the project -> If any error occur then it like namespace may be error because copy from one project to another project or else same project with different location so that check it
If the error like Build action 'Page' is not supported by the specific combination of the project's targets.
Go and resolve by further steps
Upvotes: 0
Reputation: 17
Open the Solution Explorer and click on Show All Files Button, it will show the files which were there in your project and you were unable to see them. Then if you want to include them in your project, select the folder and right-click on it and select Include in the project.
Upvotes: -2
Reputation: 1174
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.
Upvotes: 15
Reputation: 2051
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
Upvotes: 18