Musing on .Net


Windows Phone Apps



Windows 8 Apps

hit counters

Open source CMS

My blog

Irish blogs

Locations of visitors to this page Get Chitika eMiniMalls

.Net useful

Blogs I read




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?


Posted: Apr 19 2005, 11:19 PM by | with 5 comment(s)
Filed under:


Robert McLaws said:

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.
# April 19, 2005 7:16 PM

Erik Porter said:

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
# April 19, 2005 10:31 PM

Paschal said:

Erik I am using VS Team System Beta 2, and no I can't see any of the options.

It's just an annoyance, because when you convert a solution, I don't want everything to be compiled. Imagine also that I am using some files I located there because it's more convenient.
# April 20, 2005 3:51 AM

Dag H. Baardsen said:

The thing is, you can't do this in web project at all. This is a big issue on the wish list on - so you can vote for the functionality to come back (as it was there in VS 2003)!
# April 20, 2005 5:22 AM

Erik Porter said:

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.
# April 30, 2005 3:58 PM