Alex Rivera | Logout

Undo VS 'Exclude from project'?

Asked 2009-08-29T22:32:58.887
144

Is there a way to undo the 'exclude from project' operation in Visual Studio (2008) ?

How to include files back into the project after excluding them?

Edit
Report

1 Answer

262

Make sure you are showing all files. There is a button at the top of the Solution Explorer called "Show All Files". To see this button, make sure that your project is selected in the solution explorer.

Show All Files
enter image description here

When this option is active, the file should be there, just grayed out. Right click it, and select "Include In Project".

Include In Project
enter image description here

answered 2009-08-29T22:37:13.060

Your Answer