I'm really digging the YUI Compressor for .NET, it works like a charm and has some great short videos describing how to use it. I decided that I wanted to use a Post-Build event to run my compression, and I ran into a few hurdles along the way. The introduction video does a great job explaining how to use the MSBuild version from NuGet, but I think it was missing just a couple of details. Here's what I found;
I took the sample build project supplied by YUI Compressor and made my adjustments to the path and arguments for compression. Saving the file as .xml in my solution directory and setting the Post-Build event was a snap.