views:

344

answers:

3

Hi,

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

Thanks

+6  A: 

Make sure you are showing all files ( a little button at the top of the solution explorer toggles this) the file should be there, just grayed out. Right click it, and select "include in project"

CaptnCraig
Ah ha! Perfect :)
UpTheCreek
+1  A: 

In the absence of an actual undo option you could select Add > Existing Item... to re-add the item you've just excluded.

ChrisF
A: 

@ChrisF: Thank you!!!

Alex