views:

11

answers:

0

Hi Guys,

I have 2 .config files for my project - evidently one for debug and one for release. I am trying to add a prebuild event which essentially sets

Build Action = None

For a whole list of files before the solution is packaged up for release as I dont want them included. Currently, I have to do this manually [total pain] and was hoping to automate this. How would I go about adding this & what command would I use to exclude a number of files in the web solution ? i.e.

\script\some-script.js [Set Build Action = None] 
etc \css\css2.css [Set Build Action = None] etc

?