Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To ReInclude Excluded Folder

So I just performed the coup de gras on my project by accidentally clicking on Exclude From Project instead of Add on my controllers folder.

When trying to add a folder named Controllers I get the error "this folder exists". However, If I try to click on the project -> Add Existing... I cannot select a folder, but only the controllers.

Kind of at a loss here, has anyone had experience with this, or does anyone know how to get the folders back into the solution?

like image 674
Travis J Avatar asked Mar 20 '12 21:03

Travis J


People also ask

How do I show excluded folders in Visual Studio?

We can right click on the file, choose properties, go to General and click on Excluded From Build, then choose Yes or No to exclude or re-include.

How do I add excluded folder in Intellij?

Add a folder to the list of excluded paths in the Remote Host tool window From the main menu, choose Tools | Deployment | Browse Remote Host or View | Tool Windows | Remote Host. In the Remote Host tool window that opens, select the relevant server configuration from the list.

How do I exclude files from Visual Studio project?

In Visual Studio, right-click on the file to be excluded from build, choose Properties, Configuration Properties -> General -> Excluded From Build -> Yes -> OK. In Eclipse, right-click on the file to be excluded from build, choose Properties, C/C++ Build -> Excluded from build -> OK.


2 Answers

Click on the Show All Files icon in the solution explorer and then simply include the folder:

enter image description here

like image 164
Darin Dimitrov Avatar answered Oct 09 '22 15:10

Darin Dimitrov


Visual Studio Express 2012

Select Your Project Folder Click On "Show All Files" icon to show all Excluded Folders And Files

Click On Show All Files icon to show all Excluded Folders And Files

Then Right Click on Excluded Folder or File and Click on "Include In Project"

enter image description here

like image 27
Chanuka Asanka Avatar answered Oct 09 '22 14:10

Chanuka Asanka