Search code examples
visual-studiomsbuildmicrosoft-ajax-minifierajaxmin

Can AjaxMinTask output a single file?


I have multiple js input files. How can I make the Microsoft Ajax Minifier (using AjaxMinTask.dll) combine them into a single minified js file?


Solution

  • I solved it by doing this:

    <Exec Command="echo y| type %(SourceFiles.Identity) &gt;&gt; $(ScriptOutputPath)\$(RootNamespace).debug.js" />