Shawn Chen Shawn Chen 11 2 2 bronze badges. The system cannot find the file specified. Having the AjaxMin build task after the Microsoft. What I usually do, is to go to the end of the file and then add the following line just before the closing Project tag: I think this step is little complecated for me, because Run MSBuild Activity it occure in a loop for each project, and my solution has 6 projects so I didn’t know how to modify the argument for the desired project. Thanks I really appreciate your help.


Uploader: Terr
Date Added: 11 May 2007
File Size: 10.69 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 45383
Price: Free* [*Free Regsitration Required]

It describes the property activity to perform and its dependency with the generation of resources.

La entrada no fue enviada. Targets file imports a lot of other files which could be the cause Jacob Maki Jacob Maki 2 2 silver badges 11 11 bronze badges. Maybe that could be related?

I prefer the UsingTask tag instead of the Import tag because I work with a lot of people who may have installed the Microsoft Ajax Minifier in different versions or locations that me or not having it installed at all. Marked as answer by Mohamed.


Email Ajaxmintaxk.dll, but never shown. The only other import that changes between the working and non working project file is that in the working project file, the AjaxMin import happens before the Microsoft. Shawn Chen Shawn Chen 11 2 2 bronze badges.


So when set the import reference behind your task, MSBuild will use the default assembly source aaxmintask.dll the VS installation directorywhen you set the import reference before you task, the AjaxMin.

Why Microsoft Ajax Minifier dosen’t minfi the file when used with team build ?

Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. It is very important to take into account that you will need to have the AjaxMinTask.

The only difference was related to cross targeting which I’m not doing.

However, if their size is big, you may improve the first request load time by reducing their size. In both the non working project file and the working project file, the import of the targets file happens before the task.

Subscribe to RSS

To do so, just add the following lines to the custom target:. Publicado por Rodrigo Liberoff el febrero 2, https: You may think that actually this is not very helpful since using external JavaScript and CSS files in the real world generally produces faster pages because they will be cached by the browser.

Could not load file or assembly ‘file: I’ve updated all of them to have the following import: Confirm that ajaxmintask.dll declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.


Ajaxmingask.dll next step is to create a custom target with the following lines: This code run very well when building locally but when I use Team build it doesn’t create the minifie files. To do so, just add the following lines to the custom target: By continuing to browse this site, you agree to this use.


Visual Studio not loading AjaxMin MSBuild Task from specified path – Stack Overflow

I so that this thread views more than time but with no so instead of making new thread I will write more details about it I will show the code of the msbuid inside the project that could execute to create the minifie files. Visual Studio looks for it in C: Remove From My Forums. This improves response time performance because the size of the downloaded file is reduced. Thanks I really appreciate your help. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.


Improving the question-asking experience. Post as a guest Name. Given that all developers on the team may not have VS Enterprise and we’ve had issues in the past with developers installing the wrong version, I’d like to have it use the AjaxMin NuGet package referenced in the solution.