title: Exclude whole files based on configuration from build in VS2008
body: <p>I have three different configurations on my project, all three do not require all files to be build into the application. Actually I'd prefer if I could exclude those files from the build, which would make my application a little more lightweight.</p>
  
  <p>What I'm looking for is <code>#if MYCONFIG</code> or <code>#if DEBUG</code> statement but for files. I've already read that this can be accomplished by manually editing the csproj file, but I can't find that anymore...and are there other ways?</p>