简体   繁体   中英

How to Customize a .NET Build?

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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM