Questions tagged [ajaxmin]

For questions about ajaxmin, a tool by Microsoft that reduces the size of CSS and JavaScript files

For questions about ajaxmin, a tool by Microsoft that reduces the size of and files.

33 questions
1
vote
1 answer

Using AjaxMin without installing

I'm trying to use AjaxMin without installing it. From this link ( http://ajaxmin.codeplex.com/wikipage?title=AjaxMinTask ) I thought the UsingTask tag would let me do it, but I keep getting this error: E:......csproj (487): The "AjaxMin" task…
mike
  • 536
  • 1
  • 6
  • 16
0
votes
1 answer

Is there something equivalent to the command-line parameters for the AjaxMinTask?

I would like to use the -res switch for the ajaxmintask in the proj file. However, I can't find any documentation on how this can be done. I know how to do it via command line but if there is a way to add switches via the proj file that would be…
0
votes
1 answer

Visual Studio Publish Minified Files Every Time, How to Stop it?

We use Microsoft Ajax (ajaxmin.tasks) approach which described in this one (http://stackoverflow.com/questions/5043504/using-microsoft-ajax-minifier-with-visual-studio-2010-1-click-publish) to minify the css/js file when each build, it works…
Eric Yin
  • 8,737
  • 19
  • 77
  • 118
0
votes
2 answers

Can AjaxMinTask output a single file?

I have multiple js input files. How can I make the Microsoft Ajax Minifier (using AjaxMinTask.dll) combine them into a single minified js file?
eNepper
  • 1,889
  • 2
  • 13
  • 12
0
votes
1 answer

How to avoid AjaxMin removal for IE9 and below CSS hack

I'm using the following css : .GridDraggedRow tr td.firstCol{ padding: 2px 10px 0 0; text-align: right; vertical-align: top; width: 1px; width: 1%\9; /* IE9 and below */ white-space: nowrap; } As you can see, I'm using a pretty ugly css hack. My…
TiTi
  • 363
  • 1
  • 7
  • 15
0
votes
2 answers

Microsoft Ajax Minifier - TFS 2010 Workflow - AjaxMin in the TFS Build

The AjaxMin project at http://ajaxmin.codeplex.com/ is great and very useful. What I have previously used is the code option of AjaxMin where I would manually scan a directory for all JS and CSS files, and minify the contents, then rewrite the…
Issa Fram
  • 2,556
  • 7
  • 33
  • 63
0
votes
1 answer

AjaxMin not running on CopyAllFilesToSingleFolderForPackage when using MSDeploy to remote server

I'm trying to get my JS and CSS files to be automatically minified when publishing our Web App, but it only seems to work on a File System publish not a web deploy; using the target CopyAllFilesToSingleFolderForPackage in a .pubxml file. I've tried…
Liam0102
  • 1
  • 2
0
votes
1 answer

Extension method IsNullOrWhiteSpace with the same namespace is placed in two assemblies

I have ASP.Net MVC project. The project contains WebGrease, packages.config: Recently because of (https://www.nuget.org/packages/BundleTransformer.MicrosoftAjax/) I added AjaxMin…
Antipod
  • 1,593
  • 3
  • 23
  • 43
0
votes
1 answer

Permission error when minifying JS/CSS from MSBuild output

I’m adding a post build task to run the Ajax Minifier (ajaxMin.exe) whenever a relase build of a project is conducted. I’ve added the code to the project to compress all CSS and JavaScript, but when triggering a build on the TFS build server I get…
LDJ
  • 6,896
  • 9
  • 52
  • 87
0
votes
1 answer

Microsoft Ajax Minifier output path access error when called from Python

I'm calling Microsoft Ajax Minifier from Python like so: minifyArguments = ["C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\AjaxMin.exe"] for f in filesToMinify: …
Jerry
  • 1
0
votes
1 answer

Map flag doesn't seem to work in manifest file

My arguments node looks like: -clobber -map:v3 app\script.min.js.map My min file is: script.min.js and the output node is: I also tried the path with quotes in it but it didn't make a…
user648931
  • 503
  • 5
  • 18
0
votes
1 answer

passing parameters to ajaxminfy

I have this below script that I use to call the ajaxminy exe using a vbscript ..I am getting an error saying expected '(' .Can someone please look at it and tell me what's wrong.stroutput1 and outputpath are variables that I want to pass in to the…
user505210
  • 1,362
  • 11
  • 28
  • 50
0
votes
1 answer

AjaxMin Build Task to minify all js to separate folder

I m using ajaxmin to minify all my JS files. Everything works perfectly but i have little problem with the way the output files are generated. Currently what happenes is the JS files are minified next to its path. e.g If the original path is…
Sanjay Panchal
  • 540
  • 2
  • 8
  • 20
0
votes
2 answers

AjaxMin not working on Azure site

I am using Microsoft's AjaxMin to minify javascript on my website, which is hosted by Azure. I am using a BuildTask to automatically minify javascript at run time. This build task is specified in the .csproj file. The process is working on my local…
user1521567
  • 1,743
  • 3
  • 21
  • 31
0
votes
1 answer

Error with eval while minification

I am facing an error while minification of scripts using ajaxmin which contains 'eval'. In the below statement , i am receiving an error 'grid is undefined'. The variable 'grid' has been changed to someother name after minification. I have resolved…
RGR
  • 1,521
  • 2
  • 22
  • 36