views:

41

answers:

3

I want to customize a .NET build process so that I can run an executable (a Javascript minimization program) across all my Javascript files before deployment. I've searched on the web, and I am not seeing a good way to do something like this. Can someone point me in the right direction?

Thank you.

+1  A: 

Use the post-build event. Project properties -> build -> post-build

Per Erik Stendahl
A: 

I suggest you to take a look at Customize Your Project Build Process

Nathan Campos
+2  A: 

Here's how to do it with the Yahoo one and MSBuild. Just change it to work with jsmin instead. I'm sure if you Google MSBuild and jsmin you will find an exact match...

Update- this looks like a C# port of JSMin complete with an MSBuild task.

RichardOD