Visual Studio 2010: Publish minified javascript files instead of the original ones

后端 未结 5 1705
天命终不由人
天命终不由人 2020-12-07 17:57

I have a Scripts folder, that includes all the .js files used in the project. Using the Ajax Minifier task, I generate .min.js files for each one. Depending on whether the a

5条回答
  •  广开言路
    2020-12-07 18:24

    You probably want to take a look at Build Events, with which you can specify a command line to execute post-build. Your question is, additionally, similar to these questions.

    For the actual copying, you can quite easily just make use of the COPY command.

提交回复
热议问题