I was looking for a tool to compress js+css files that i can integrate into project post build event or MSBUILD. One of the popular tools is Yui , It works fine but requieres installed JVM on DEV machine and it's not simple to write a wrapper for it. I tried also the JSMin , It does the job but works for js files only. The best solution that I found is the .NET version of Yahoo.Yui.Compressor . I integrated the assembly into a console app. and wrote a method that: 1. Gets the js scripts + css...