ajaxmin

Visual Studio Deployment Package - change the file structure the .zip creates?

。_饼干妹妹 提交于 2020-01-02 01:06:08
问题 Everything works as expected but I would like to improve the directory structure that the .zip produces. When I create a deployment package I have it create in a custom directory which works fine but the .zip it creates is in the structure of: content/c_c/users/pcName/documents/VS2010/Projects/ProjectName/obj/release/package/packageTmp Only in the packageTmp directory do I get to the files I want! Is there a way for the created zip to not include all of those empty directories? 回答1: I never

How can we include the files created by ajaxmin in the msdeploy package created by MSBuild

时间秒杀一切 提交于 2019-12-29 08:40:47
问题 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: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\MicrosoftAjax\ajaxmin.tasks" /> <Target Name="AfterBuild"> <ItemGroup> <JS Include="**\*.js" Exclude="**\*.min.js" /> </ItemGroup> <AjaxMin JsSourceFiles="@(JS)" JsSourceExtensionPattern="\.js$" JsTargetExtension=".min.js" /> </Target> This works great when we build the site on our workstation and the .min.js

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

半城伤御伤魂 提交于 2019-12-25 09:25:02
问题 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 original file with the minified content. This code would be run in a custom "BuildConfigurator" that was created just for the purpose of running on builds to get them ready for deployment. We have since made the decision to get rid of BuildConfigurator

Ajax Controls Toolkit and Ajaxmin

♀尐吖头ヾ 提交于 2019-12-23 16:28:15
问题 I am learning how to use the Ajax Control Toolkit using VB.NET in code-behind in Visual Studio 10.0.40219.1 SP1Rel, .NET 4.0.30319 SP1Rel. I have been to many websites and tried lots of code, using the AnimationExtender. The sample that came with the toolkit works perfectly, but on http://localhost:1049/ which is different from my "view code in browser" url: http://localhost:4258/ When I change the url to mine, I get this error: Could not load file or assembly 'AjaxMin, Version=4.97.4951

AjaxMin Build Task to minify all js to separate folder

十年热恋 提交于 2019-12-12 01:08:47
问题 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 includes/js/test.js then it is minified at includes/js/test.min.js . I want my all js files to minify at different location then the original location. e.g. My all js files are under includes/js/JSFILESHERE and i wanted these js files to be minified at

Using AjaxMin without installing

假装没事ソ 提交于 2019-12-11 11:01:24
问题 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 could not be instantiated from "E:...\libraries\AjaxMinTask.dll". System.IO.FileNotFoundException: Could not load file or assembly 'AjaxMin, Version=4.79.4762.18504, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system

passing parameters to ajaxminfy

会有一股神秘感。 提交于 2019-11-29 17:26:26
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 script. Dim objShell Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Run(""C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\AjaxMin.exe"" stroutput1 -o outputpath) Set objShell = Nothing WScript.Echo "Complete" Your quoting is wrong. Run expects a command string (enclosed in double quotes), and double quotes inside this string

How can we include the files created by ajaxmin in the msdeploy package created by MSBuild

て烟熏妆下的殇ゞ 提交于 2019-11-29 14:22:14
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: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\MicrosoftAjax\ajaxmin.tasks" /> <Target Name="AfterBuild"> <ItemGroup> <JS Include="**\*.js" Exclude="**\*.min.js" /> </ItemGroup> <AjaxMin JsSourceFiles="@(JS)" JsSourceExtensionPattern="\.js$" JsTargetExtension=".min.js" /> </Target> This works great when we build the site on our workstation and the .min.js files can be used in the site. When we check this project in this task runs also on the msbuild server

passing parameters to ajaxminfy

耗尽温柔 提交于 2019-11-28 13:17:45
问题 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 script. Dim objShell Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Run(""C:\Program Files (x86)\Microsoft\Microsoft Ajax Minifier\AjaxMin.exe"" stroutput1 -o outputpath) Set objShell = Nothing WScript.Echo "Complete" 回答1: Your