How can we include the files created by ajaxmin in the msdeploy package created by MSBuild
问题 We use ajaxmin to create .min.js files from all our .js files. We have edited the .csproj file of the project and added following: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\MicrosoftAjax\ajaxmin.tasks" /> <Target Name="AfterBuild"> <ItemGroup> <JS Include="**\*.js" Exclude="**\*.min.js" /> </ItemGroup> <AjaxMin JsSourceFiles="@(JS)" JsSourceExtensionPattern="\.js$" JsTargetExtension=".min.js" /> </Target> This works great when we build the site on our workstation and the .min.js