How to support multiple compression Tasks - Multiple files?

Dec 13, 2009 at 7:49 AM

Hi there,


I have been using YUI COmpressor for .net to combine my css and js files and its working great, i now wish to combin different css and js for each page i have.


The only way i see of doing this is to create more than 1 MSBuildSettings.xml  and in the PRE-Build  event execute each individual MsBuild..


I suppose i was looking for something (a trick! :-) to make things easier....  Is there an altenative...


In the pre-build can i use wildcards to say "Hey execute each .xml in THIS directory"?


And i presume i can't put multiple task jobs (to create separate css and js files) in the same xml?


Any help really appreciated


Thank you

Dec 17, 2009 at 1:56 PM

I am looking for the same thing!