I downloaded the latest AjaxMinifier (4.78) but it appears to only work for .Net 4?
Changing my project to target 4 isn't an option at this point.
Can anyone point me to a download that will work with 3.5 or a solution to this problem?
I noticed that my ToolsVersion="3.5" but i tried "4.0" and it didn't make any difference?
The error for reference that i get on build is:
error MSB4062: The "AjaxMin" task could not be loaded from the assembly C:\Program Files\MSBuild\Microsoft\MicrosoftAjax\AjaxMinTask.dll. Could not load file or assembly 'file:///C:\Program Files\MSBuild\Microsoft\MicrosoftAjax\AjaxMinTask.dll'
or one of its dependencies. This assembly is
built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
my project contains:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\MicrosoftAjax\AjaxMin.tasks" />
<JS Include="**\*.js" Exclude="**\*.min.js;Scripts\*.js" />
<CSS Include="**\*.css" Exclude="**\*.min.css" />
JsSourceFiles="@(JS)" JsSourceExtensionPattern="\.js$" JsTargetExtension=".min.js"
CssSourceFiles="@(CSS)" CssSourceExtensionPattern="\.css$" CssTargetExtension=".min.css" />