Questions tagged [microsoft-ajax-minifier]
41 questions
12
votes
2 answers
Using Microsoft AJAX Minifier with Visual Studio 2010 1-click publish
The Microsoft AJAX Minifier provides a build task which can be used in TFS or local build definitions.
I have succsfully used this in both a local project file (building to seperate files) and in TFS build definitions (overwriting the existing JS…

jamiecon
- 1,770
- 3
- 19
- 32
6
votes
1 answer
How to instruct Ajax Minifier to remove console.log from javascript
I have lines in my js files like this
console.log('FunctionName()');
The default Ajax Minifier settings do not remove these lines from the .min.js output.
I noticed in this discussion a conversation about Kill switches.
Looking at the Kill Switch…

Valamas
- 24,169
- 25
- 107
- 177
5
votes
1 answer
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:
…

Wessel Kranenborg
- 1,400
- 15
- 38
5
votes
1 answer
individually minify JS and CSS in Visual Studio 2010
I'm currently migrating a project to Visual Studio 2010 and am trying to figure out how to minify JS and CSS files individually on build.
In Visual Studio 2008 I used a Web Deployment Projects with a build task that referenced the C# port of the YUI…

craigmoliver
- 6,499
- 12
- 49
- 90
4
votes
2 answers
Reliable and convenient JavaScript minifier
I occasionally write JavaScript code. I am interested in minifying it for better performance, but I don't plan to spend to much time on that, especially in testing the minified result.
I found this online…

Christophe
- 27,383
- 28
- 97
- 140
4
votes
3 answers
Where to get ajaxmin.exe?
I want to minify my js and css through command prompt using ajaxmin. Can someone provide the link for this. This https://archive.codeplex.com/?p=ajaxmin does not have the exe

Dilip
- 191
- 4
- 17
4
votes
3 answers
Visual Studio 2017 not loading AjaxMin MSBuild Task from specified path
I'm attempting update an existing application so that it will load in Visual Studio 2017 (Enterprise - V15.2 (26430.12)) from Visual Studio 2015 (Enterprise) and having issues with the AjaxMin build task.
In Visual Studio 2015, the AjaxMin build…

Jacob Maki
- 366
- 3
- 11
4
votes
3 answers
Merging multiple jscript files into one with msbuild task?
I am using Microsoft Ajax Minifier to convert file1.js to file1.min.js. Now I would like to take file1.min.js and file2.min.js and merge them into files-merged.min.js.
I have found several open source msbuild projects but with no documentation on…

KevinUK
- 5,053
- 5
- 33
- 49
4
votes
1 answer
Is it possible to deny minify one line (or region) in css file by Microsoft Ajax Minifier?
I started use Cassette library in our project. This library use Microsoft Ajax Minifier by default. I face problems breaking html layout on some pages only in firefox browser. I found that problem is related to CSS3 function calc(). The + and -…

DrunkCoder
- 8,215
- 3
- 19
- 14
4
votes
2 answers
Microsoft Ajax Minifier Renames My Function Names
I am using a jQuery plugin and running it through the Microsoft Ajax Minifier. My scripts work well for me, but now I am running into an issue with this plugin. The issue is that the plugin calls a function by its name using a string:
var s =…

JCisar
- 2,584
- 2
- 29
- 28
3
votes
1 answer
Minify CSS and JS in Asp.Net when Publish a WebApplication
I use Asp.net 4 C# and MicrosoftAjax Minifier.
Please look at my code here; Using I'm able to minify all files .js and .css. The problem is that this code minify even the original files in my project solution, so would be…

GibboK
- 71,848
- 143
- 435
- 658
3
votes
1 answer
what is hypercrunching in microsoft ajax minifier?
The Microsoft Ajax Minifier enables you to improve the performance of your Ajax applications by reducing the size of your Cascading Style Sheet and JavaScript files.
what is the difference between crunching and Hyper crunching in Microsoft…

bhaghyasandar
- 516
- 4
- 16
3
votes
0 answers
Microsoft.Ajax.Utilities.Minifier for css file lose @keyframes rule
I used Microsoft.Ajax.Utilities.Minifier for css file. The results is a file without @keyframes rule that I used for css animation.
I saw the cssParser and cssSettings parameters but I havent't find nothing to include @keyframes rule into…

Luca Murzio
- 37
- 1
- 5
2
votes
4 answers
How to use the -clobber option while using the Ajax Minifier in MSBuild process in Visual Studio 2010
Basically, my end goal is to remove already present .min.js and CSS files when building my Visual Studio solution while I have Ajax Minifier (version 4.20) as one of MSBuild task which minifies .js and .css files.
According to Ajax Minifier…

Jack Smith
- 61
- 2
- 7
2
votes
1 answer
AjaxMin bundle CSS with relative path
I have CSS folder structure as below
-test1.css
-test2.css
-morestyles
--test3.css
these css have image reference as relative path in same folder
test1.css have image reference as
background-image:…

Uthistran Selvaraj
- 1,371
- 1
- 12
- 31