Unable to run Ajax Minifier as post-build in Visual Studio

From Logic Wiki
Jump to: navigation, search


Problem

In jenkins when I try to build a project using ajaxmin package I get this error below

C:\Jenkins\workspace\MDM Build\Angular.SPA\MDM.Web.SPA.csproj(1040,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\MicrosoftAjax\ajaxmin.tasks" was not found. 
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.


Solution

install Microsoft Ajax Minifier 4.0 from http://aspnet.codeplex.com/releases/view/40584