Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide excluded files in visual studio?

I have a project with hundreds of pages classes and controls. many of them are excluded but as they appear in the project browser they clutter it and make it difficult to find the files I need. I don't want to delete them since every once in a while i get back to them for review. is there any way to show/hide the excluded files with a button toggle?

I don't have the button for show all files. see picture: enter image description here

like image 216
Michael Seltenreich Avatar asked Dec 10 '13 12:12

Michael Seltenreich


People also ask

How do I show excluded folders in Visual Studio?

Open the project in Visual Studio Team Edition for Database Professionals. Open the Project menu and click Show All Files. This will display excluded files in Solution Explorer. In Solution Explorer, click the folder that you had previously excluded.

What does exclude from project do in Visual Studio?

Removing it temporarily from the active solution configuration. Creating a solution configuration that doesn't include the project.


1 Answers

Yes, there is a button to hide/show excluded files. The button is under solution explorer tab.

Please check this link for VS2008:

http://blog.brianhartsock.com/2009/09/14/visual-studio-tip-show-all-file/

enter image description here

Important Update:

After trials on VS2012 I found out that if you create New Web Site the hide/show button will not appear for no apparent reason. However, if you create New Project the hide/show button will appear!! So, it seems that you have to avoid creating New Web Site... but create New Project instead to have the button on Solution explorer. Try moving your work to a New Project rather than your current solution Good Luck!

like image 51
Abzoozy Avatar answered Oct 05 '22 16:10

Abzoozy