Exclude files in VS 2005 Beta 2

How do I 'Exclude Files From Project' in VS 2005?  I have a solution that requires files to exists in the directory structure but not be compiled.

Where has this functionality moved to?  Also, what happened to the 'Show All Files' option?

 

4 Comments

  • It depends on what kind of project you have. With the new directory-based web project model, I don't think you can exclude files anymore. You can, however, if you create a solution (doesn't happen by default), or work with a Windows project/class library.

  • Are you using Beta 2? That's what I'm using and they're in the same places they were in 2003. Show All Files being a button at the top of the Solution Explorer and Exclude from Project when you right mouse click on a file in the Solution Explorer

  • The thing is, you can't do this in web project at all. This is a big issue on the wish list on lab.msdn.microsoft.com - so you can vote for the functionality to come back (as it was there in VS 2003)!

  • Oops, sorry, yah, Robert's right. I was thinking of non-ASP.NET projects and nothing has changed from 2003 there and ASP.NET projects are as Robert described.

Comments have been disabled for this content.