<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Yahoo! UI Library: YUI Compressor for .Net</title><link>http://yuicompressor.codeplex.com/project/feeds/rss</link><description>This is a .NET port of the Yahoo&amp;#33; UI Library&amp;#39;s YUI Compressor Java project. The objective of this project is to compress any Javascript and Cascading Style Sheets to an efficient level that works exactly as the original source, before it was minified.</description><item><title>Patch Uploaded: #14495</title><link>https://yuicompressor.codeplex.com/SourceControl/list/patches</link><description>
&lt;p&gt;&lt;a href='https://www.codeplex.com/site/users/view/burken'&gt;burken&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Made some changes to improve the speed of the CssCompressor. Main change was to rewrite the logic for removing empty rules. The problem with the original regex was that it started matching every rule and keept in memory only to realize most rules aren&amp;#39;t empty when reaching the brackets. Now it checks if there are any empty brackets, and if so handle these.&lt;br /&gt;&lt;br /&gt;Also changed matches and loops with Regex.Replace with MatchEvaluator delegate &amp;#40;as lambda expression&amp;#41;.&lt;/p&gt;</description><author>burken</author><pubDate>Fri, 17 May 2013 07:09:57 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #14495 20130517070957A</guid></item><item><title>Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]</title><link>http://yuicompressor.codeplex.com/workitem/10987</link><description>&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Log.LogMessage&amp;#40;&amp;#34;8&amp;#60; ---------------------------------  &amp;#40; o Y o &amp;#41;  --------------------------------- &amp;#62;8&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Seriously&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: purekrome ** &lt;p&gt;FreeRanger, Kesti is talking about the ascii&lt;/p&gt;&lt;p&gt;* scissors&lt;br&gt;* boobs.&lt;/p&gt;&lt;p&gt;Sorry Kesti if you're offended by the ascii scissors. I was talking the piss out of the internets late one night half a decade ago when i coded that up. &lt;/p&gt;&lt;p&gt;I really really REALLY wish I was 12 years old at the time when I did add that line in. &lt;/p&gt;&lt;p&gt;I guess humour is lost these days and that anything like is this always seen as misogynist, sexist, rude, outoftouch and arrogant.&lt;/p&gt;&lt;p&gt;I could patch out those two little scissors but .. I think they are quiet cute.&lt;/p&gt;&lt;p&gt;Your most welcome to Fork the code :)&lt;/p&gt;&lt;p&gt;GL and thanks for highlighting this digression!&lt;/p&gt;</description><author>purekrome</author><pubDate>Thu, 09 May 2013 23:18:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987] 20130509111813P</guid></item><item><title>Closed Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]</title><link>http://yuicompressor.codeplex.com/workitem/10987</link><description>&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Log.LogMessage&amp;#40;&amp;#34;8&amp;#60; ---------------------------------  &amp;#40; o Y o &amp;#41;  --------------------------------- &amp;#62;8&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Seriously&amp;#63;&lt;br /&gt;</description><author>freeranger</author><pubDate>Thu, 09 May 2013 18:43:06 GMT</pubDate><guid isPermaLink="false">Closed Issue: The software seems to have been infiltrated by a twelve-year-old. [10987] 20130509064306P</guid></item><item><title>Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]</title><link>http://yuicompressor.codeplex.com/workitem/10987</link><description>&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Log.LogMessage&amp;#40;&amp;#34;8&amp;#60; ---------------------------------  &amp;#40; o Y o &amp;#41;  --------------------------------- &amp;#62;8&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Seriously&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: freeranger ** &lt;p&gt;I'm not sure what the issue is that you are proposing - you are free to download the source code and modify it how you wish for your own personal use, or indeed to simply not use it at all.&lt;/p&gt;</description><author>freeranger</author><pubDate>Thu, 09 May 2013 18:42:33 GMT</pubDate><guid isPermaLink="false">Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987] 20130509064233P</guid></item><item><title>Created Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]</title><link>http://yuicompressor.codeplex.com/workitem/10987</link><description>&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Log.LogMessage&amp;#40;&amp;#34;8&amp;#60; ---------------------------------  &amp;#40; o Y o &amp;#41;  --------------------------------- &amp;#62;8&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Seriously&amp;#63;&lt;br /&gt;</description><author>firekesti</author><pubDate>Thu, 09 May 2013 17:11:48 GMT</pubDate><guid isPermaLink="false">Created Issue: The software seems to have been infiltrated by a twelve-year-old. [10987] 20130509051148P</guid></item><item><title>Commented Issue: Compressor spoils encoding of JS files [10956]</title><link>http://yuicompressor.codeplex.com/workitem/10956</link><description>Enconding of non-english characters &amp;#40;e.g. Greek&amp;#41; in Javascript files is spoiled in minified file.&lt;br /&gt;Comments: ** Comment from web user: freeranger ** &lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Can you elaborate on this please?&lt;br&gt;At least tell us which version you are using, and ideally provide a small self contained example of the problem.&lt;/p&gt;&lt;p&gt;There was an issue a while back with accented characters which was resolved:&lt;/p&gt;&lt;p&gt;http://yuicompressor.codeplex.com/workitem/10507&lt;/p&gt;&lt;p&gt;We need more info to be able to help you.&lt;br&gt;&lt;/p&gt;</description><author>freeranger</author><pubDate>Fri, 26 Apr 2013 21:28:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: Compressor spoils encoding of JS files [10956] 20130426092850P</guid></item><item><title>Created Issue: Compressor spoils encoding of JS files [10956]</title><link>http://yuicompressor.codeplex.com/workitem/10956</link><description>Enconding of non-english characters &amp;#40;e.g. Greek&amp;#41; in Javascript files is spoiled in minified file.&lt;br /&gt;</description><author>dimpant</author><pubDate>Fri, 26 Apr 2013 20:32:21 GMT</pubDate><guid isPermaLink="false">Created Issue: Compressor spoils encoding of JS files [10956] 20130426083221P</guid></item><item><title>New Post: Ordering javascript imports</title><link>http://yuicompressor.codeplex.com/discussions/441283</link><description>&lt;div style="line-height: normal;"&gt;Lol, I didn't spot that either :)  Glad you're up and running now anyway...&lt;br /&gt;
&lt;/div&gt;</description><author>freeranger</author><pubDate>Tue, 23 Apr 2013 14:25:03 GMT</pubDate><guid isPermaLink="false">New Post: Ordering javascript imports 20130423022503P</guid></item><item><title>New Post: Ordering javascript imports</title><link>http://yuicompressor.codeplex.com/discussions/441283</link><description>&lt;div style="line-height: normal;"&gt;It's only the wildcard search that is ordered alphabetically, msbuild actually guarantees the order is maintained, see here: &lt;a href="http://stackoverflow.com/questions/1219859/do-items-in-msbuild-file-maintain-their-order-when-passed-to-a-task" rel="nofollow"&gt;http://stackoverflow.com/questions/1219859/do-items-in-msbuild-file-maintain-their-order-when-passed-to-a-task&lt;/a&gt; .&lt;br /&gt;
&lt;br /&gt;
The reason my code wasn't working was just because I had the $ and the ( the wrong way round, so file1.js and file2.js were being read in in the directory search, rather than being added at the start.&lt;br /&gt;
&lt;br /&gt;
This version: &lt;br /&gt;
&lt;pre&gt;&lt;code&gt; &amp;lt;JavaScriptFiles Include=&amp;quot;$(WebProjectOutputDir)/Scripts/file1.js&amp;quot;/&amp;gt;
 &amp;lt;JavaScriptFiles Include=&amp;quot;$(WebProjectOutputDir)/Scripts/file2.js&amp;quot;/&amp;gt;

      &amp;lt;JavaScriptFiles Include=&amp;quot;$(WebProjectOutputDir)\Scripts\*.js&amp;quot; 
      Exclude=&amp;quot;@(JavascriptFiles)&amp;quot;/&amp;gt;
    &amp;lt;/ItemGroup&amp;gt;&lt;/code&gt;&lt;/pre&gt;

will do what I wanted.&lt;br /&gt;
&lt;/div&gt;</description><author>davidconlin</author><pubDate>Tue, 23 Apr 2013 14:22:41 GMT</pubDate><guid isPermaLink="false">New Post: Ordering javascript imports 20130423022241P</guid></item><item><title>New Post: Ordering javascript imports</title><link>http://yuicompressor.codeplex.com/discussions/441283</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
You are falling foul of msbuild - it always orders them alphabetically. &lt;br /&gt;
One of the answers here &lt;a href="http://stackoverflow.com/questions/7050552/msbuild-item-order-when-using-wildcards" rel="nofollow"&gt;http://stackoverflow.com/questions/7050552/msbuild-item-order-when-using-wildcards&lt;/a&gt; links to a custom msbuild task that &lt;em&gt;may&lt;/em&gt; help&lt;br /&gt;
&lt;br /&gt;
Other options are:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;name your files such that the ones you want first appear first in the alphabet &lt;/li&gt;
&lt;li&gt;Compress each file you want first individually and then lump all the others together - you end up with a few more round trips than you'd like but you still get the benefit of compression.&lt;/li&gt;
&lt;li&gt;
Alter the scripts such that load order isn't important - it seems to me a bit brittle&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
Sorry there's no one easy answer to this one, but blame MSBuild for it :)&lt;br /&gt;
&lt;/div&gt;</description><author>freeranger</author><pubDate>Tue, 23 Apr 2013 12:24:33 GMT</pubDate><guid isPermaLink="false">New Post: Ordering javascript imports 20130423122433P</guid></item><item><title>New Post: Ordering javascript imports</title><link>http://yuicompressor.codeplex.com/discussions/441283</link><description>&lt;div style="line-height: normal;"&gt;Hi -&lt;br /&gt;
&lt;br /&gt;
I'm trying to get the compressor set up for my project. We have what can only be described as a buttload of our own and library javascript files which I'd like to concatenate and minify at build time. &lt;br /&gt;
&lt;br /&gt;
The problem I'm having is working out how the order of concatenation is controlled: I need to import my libraries in the correct order so that each file's dependencies are satisfied when its loaded and executed.&lt;br /&gt;
&lt;br /&gt;
Ideally what I'd like is something that looked a bit like:&lt;br /&gt;
&lt;br /&gt;
import file #1&lt;br /&gt;
import file #2&lt;br /&gt;
...&lt;br /&gt;
import all other files in scripts directory in any order.&lt;br /&gt;
&lt;br /&gt;
but if I have to list all the files, that'd be ok.&lt;br /&gt;
&lt;br /&gt;
I've tried&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;JavaScriptFiles Include=&amp;quot;($WebProjectOutputDir)/Scripts/file1.js;
($WebProjectOutputDir)/Scripts/file2.js;&amp;quot;/&amp;gt;

      &amp;lt;JavaScriptFiles Include=&amp;quot;$(WebProjectOutputDir)\Scripts\*.js&amp;quot; 
      Exclude=&amp;quot;@(JavascriptFiles)&amp;quot;/&amp;gt;
    &amp;lt;/ItemGroup&amp;gt;&lt;/code&gt;&lt;/pre&gt;

but it doesn't look like my intended ordering is respected.&lt;br /&gt;
&lt;br /&gt;
Is there a way to do what I want to do?&lt;br /&gt;
&lt;/div&gt;</description><author>davidconlin</author><pubDate>Tue, 23 Apr 2013 12:08:38 GMT</pubDate><guid isPermaLink="false">New Post: Ordering javascript imports 20130423120838P</guid></item><item><title>Reviewed: Version 2.2.0.0 - Epee (Apr 17, 2013)</title><link>https://yuicompressor.codeplex.com/releases/view/98678#ReviewBy-sanloublues</link><description>Rated 3 Stars &amp;#40;out of 5&amp;#41; - The 2.2.1.0 msbuild dll classes don&amp;#39;t appear to implement Microsoft.Build.Utilities.Task.CompressorTask &amp;#10;I had to revert to 2.1.1.0 to get the msbuild compressor going again.</description><author>sanloublues</author><pubDate>Wed, 17 Apr 2013 23:42:51 GMT</pubDate><guid isPermaLink="false">Reviewed: Version 2.2.0.0 - Epee (Apr 17, 2013) 20130417114251P</guid></item><item><title>New Post: Advice for integrating YUI .NET into a ASP.NET Web App</title><link>http://yuicompressor.codeplex.com/discussions/439550</link><description>&lt;div style="line-height: normal;"&gt;Hi Andy,&lt;br /&gt;
&lt;br /&gt;
Agree with PK on 1 &amp;amp; 2. &lt;br /&gt;
As well as the msbuild video, if you go to the Source Code tab and navigate to Documentation/Post-build Events WebSite Example, this is an MVC project which uses msbuild and compresses your files when in Release mode.  If you download and run the project, one of the pages on the site will discuss it in some detail.&lt;br /&gt;
&lt;br /&gt;
re: Embedded resources - I thought about this before, replacing the resources post-build with minified versions, but you can't rewrite them in the assembly, so I abandoned that idea.   Recently however, I have come up with another idea....though it is untested as yet so may need a tweak:&lt;br /&gt;
&lt;br /&gt;
Lets say you have a file called myjs.js which is currently an embedded resource.  Do the following:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Change it's build action to None&lt;/li&gt;
&lt;li&gt;Create a copy of it called myjs.min.js and set the build action on that to be Embedded Resource&lt;/li&gt;
&lt;li&gt;Whereever you would have referred to myjs.js, you need to replace with references to myjs.min.js&lt;/li&gt;
&lt;li&gt;
Create a pre build event (similar to the post build events example I mentioned earlier) which will, in Debug mode, just copy myjs.js as myjs.min.js (to ensure you always have the latest version) but in Release mode will minify myjs.js to myjs.min.js&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
The end result should be your embedded minified (or no minified) resource file.&lt;br /&gt;
&lt;br /&gt;
hth!&lt;br /&gt;
&lt;/div&gt;</description><author>freeranger</author><pubDate>Tue, 09 Apr 2013 07:10:47 GMT</pubDate><guid isPermaLink="false">New Post: Advice for integrating YUI .NET into a ASP.NET Web App 20130409071047A</guid></item><item><title>New Post: Advice for integrating YUI .NET into a ASP.NET Web App</title><link>http://yuicompressor.codeplex.com/discussions/439550</link><description>&lt;div style="line-height: normal;"&gt;Hi GL,&lt;br /&gt;
&lt;br /&gt;
Thanks for the reply. I had previously watched all your short clips (very informative) but just wanted to be sure that it was possible to integrate with Web forms.&lt;br /&gt;
I think I will seperate the CSS/JS with regards to the embedded resources as the DLLs are not used outside of the web app and so the need for embedding is removed.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
Andy&lt;br /&gt;
&lt;/div&gt;</description><author>awood20</author><pubDate>Tue, 09 Apr 2013 07:08:49 GMT</pubDate><guid isPermaLink="false">New Post: Advice for integrating YUI .NET into a ASP.NET Web App 20130409070849A</guid></item><item><title>New Post: Advice for integrating YUI .NET into a ASP.NET Web App</title><link>http://yuicompressor.codeplex.com/discussions/439550</link><description>&lt;div style="line-height: normal;"&gt;Hi Andy,&lt;br /&gt;
&lt;br /&gt;
it's been years since I've touched WebForms (all MVC myself). I believe it can be used in a Web forms app because there's no MVC specific stuff at all.&lt;br /&gt;
&lt;br /&gt;
1) and 2)&lt;br /&gt;
&lt;br /&gt;
I've &lt;a href="http://www.youtube.com/watch?v=sFFZ0nQog8U" rel="nofollow"&gt;made a a video about to use MSBuild&lt;/a&gt; to leverage the compressor. Yes, the video is using an MVC project but that's irrelevant because it's using NOTHING MVC-special. U can copy the entire video and substitute the 1 sec in it where i do FILE=&amp;gt;NEW=&amp;gt;MVC with FILE=&amp;gt;NEW=&amp;gt;WebForms.&lt;br /&gt;
&lt;br /&gt;
all the rest is the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Embedded resources .. hmm. never thought of that. If you're going to embedd the css/js, you can always manually minify the content and then just stick that result into the web resource? It's a PITA but a possible solution. Other than that, i would keep that content separate as u suggested.&lt;br /&gt;
&lt;br /&gt;
GL!&lt;br /&gt;
&lt;/div&gt;</description><author>purekrome</author><pubDate>Tue, 09 Apr 2013 02:23:36 GMT</pubDate><guid isPermaLink="false">New Post: Advice for integrating YUI .NET into a ASP.NET Web App 20130409022336A</guid></item><item><title>New Post: Advice for integrating YUI .NET into a ASP.NET Web App</title><link>http://yuicompressor.codeplex.com/discussions/439550</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I am considering using this library within a .NET 4.0 ASP.NET Web forms App. None of the sample videos cover this specifically. So I've a few questions on this...&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Can this package actually be integrated into a Web Forms web app instead of MVC App?&lt;/li&gt;
&lt;li&gt;Are there any resources that can show me how to do this via either MsBuild or some other manner?&lt;/li&gt;
&lt;li&gt;
Apart from css/js within the web app I have server-side webcontrols that have css/js included with them as webResource files. I am considering removing the embedded resources and moving the css/js into the web app so that they would be processed by YUI. Would you consider this a good idea or is there a way for YUI .NET to handle the embedded resouces?&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Andy&lt;br /&gt;
&lt;/div&gt;</description><author>awood20</author><pubDate>Mon, 08 Apr 2013 19:29:51 GMT</pubDate><guid isPermaLink="false">New Post: Advice for integrating YUI .NET into a ASP.NET Web App 20130408072951P</guid></item><item><title>Reviewed: Version 2.2.0.0 - Epee (Apr 04, 2013)</title><link>http://yuicompressor.codeplex.com/releases/view/98678#ReviewBy-uniquelau</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Thank-you. Lau</description><author>uniquelau</author><pubDate>Thu, 04 Apr 2013 14:51:59 GMT</pubDate><guid isPermaLink="false">Reviewed: Version 2.2.0.0 - Epee (Apr 04, 2013) 20130404025159P</guid></item><item><title>Updated Wiki: Home</title><link>http://yuicompressor.codeplex.com/wikipage?version=66</link><description>&lt;div class="wikidoc"&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Project Description&lt;/strong&gt;&lt;br&gt;
This is a .NET port of the Yahoo! UI Library's YUI Compressor Java project. The objective of this project is to compress any Javascript and Cascading Style Sheets to an efficient level that works exactly as the original source, before it was minified.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Available via NuGet&lt;/strong&gt;&lt;br&gt;
&lt;a href="http://nuget.org/packages/YUICompressor.NET"&gt;&lt;img title="NuGet Command" src="http://i.imgur.com/Bkfqq.png" alt="NuGet Command" style="border:none"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href="http://nuget.org/packages/YUICompressor.NET.MSBuild"&gt;&lt;img title="NuGet Command with MSBuild Task" src="http://i.imgur.com/aqKIj.png" alt="NuGet Command with MSBuild Task" style="border:none"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href="http://nuget.org/packages/YUICompressor.NET.NAnt"&gt;&lt;img title="NuGet Command with NAnt Task" src="http://i.imgur.com/xtRJg.png" alt="NuGet Command with NAnt Task" style="border:none"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;a href="http://nuget.org/packages/YUICompressor.NET.Web.Optimization"&gt;&lt;img title="NuGet Command with Web Optimization" src="http://i.imgur.com/kKyzt.png" alt="NuGet Command with Web Optimization" style="border:none"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br&gt;
&lt;strong&gt;&lt;span style="text-decoration:underline"&gt;Main Features&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Compress and/or Bundle Javascript and/or Cascading StyleSheets. &lt;/li&gt;&lt;li&gt;1 source file -&amp;gt; 1 destination file (that's just compression) &lt;/li&gt;&lt;li&gt;Multiple source files -&amp;gt; 1 destination file (compression and bundling) &lt;/li&gt;&lt;li&gt;Multiple source files -&amp;gt; multiple destination files (so you're pro at this now?!)
&lt;/li&gt;&lt;li&gt;Optional MSBuild Tasks, NAnt Tasks and MVC4 BundleTransform. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;Referenced Version&lt;/span&gt;&lt;br&gt;
Based on YUI Compressor version: &lt;strong&gt;2.4.4&lt;/strong&gt; (last checked at 2011-01-17).&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;How close to the Java Port?&lt;/span&gt;&lt;br&gt;
Pretty damn close, now :) &lt;strong&gt;Same unit tests (which pass)&lt;/strong&gt;. &lt;br&gt;
The only thing I haven't been able to do is get the exact same obfuscation because
&lt;a href="http://yuilibrary.com/projects/yuicompressor/ticket/2528081"&gt;the java code is using a hashtable instead of a sorted hashtable/dictionary&lt;/a&gt;. It's identical besides that (and works the same). Just visually look different but is exactly the same file
 size, etc.&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;Video Tutorials&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
Using YUI Compressor .NET (Core)&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.youtube.com/watch?v=LzoYUsKikx0"&gt;&lt;img title="Using YUI Compressor .NET (Core)" src="http://i.imgur.com/9KBgp.png" alt="Using YUI Compressor .NET (Core)" width="642" height="391" style="border:NaNpx solid black"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Using YUI Compressor .NET (MSBuild)&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.youtube.com/watch?v=sFFZ0nQog8U"&gt;&lt;img title="Using YUI Compressor .NET (MSBuild)" src="http://i.imgur.com/m34Hx.png" alt="Using YUI Compressor .NET (MSBuild)" style="border:none"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using YUI Compressor .NET (Web Optimization)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=NSHGSbViMm8"&gt;&lt;img src="http://i.imgur.com/MQR0h.png" alt="" width="641" height="392"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Older video) Using YUI Compressor .NET 1.7 with MSBuild&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.youtube.com/watch?v=Cj8MHPCubuM"&gt;&lt;img title="(Older video) Using YUI Compressor .NET 1.7 with MSBuild" src="http://i.imgur.com/T4ULh.png" alt="(Older video) Using YUI Compressor .NET 1.7 with MSBuild" style="border:none"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;Sample MsBuild output&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;img src="http://img19.imageshack.us/img19/8996/msbuildexample.png" alt=""&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;Who's utilising this code/library?&lt;/span&gt;&lt;br&gt;
&lt;em&gt;If you use this code in some project, please drop us a message so we can include it in this list :)&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.codethinked.com/post/2010/05/26/SquishIt-The-Friendly-ASPNET-JavaScript-and-CSS-Squisher.aspx"&gt;SquishIt&lt;/a&gt; by Justin Etheredge
&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.dotlesscss.org/"&gt;.Less (dot-less)&lt;/a&gt; by Christopher Owen, Erik van Brakel, Daniel Hoelbling and James Foster
&lt;/li&gt;&lt;li&gt;&lt;a href="http://shinkansen.codeplex.com/"&gt;Shinkansen: compress, crunch, combine, and cache JavaScript and CSS&lt;/a&gt; by Milan Negovan
&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.gStyleManager.com/"&gt;gStyleManager&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Phil Haack and his &lt;a href="http://haacked.com/archive/2009/12/02/t4-template-for-less-css.aspx"&gt;
T4CSS : A T4 Template for .Less CSS With Compression&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://codebetter.com/blogs/karlseguin/archive/2008/12/29/compressing-js-files-as-part-of-your-build-process.aspx"&gt;Karl Seguin&lt;/a&gt; (from CodeBetter fame)
&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.streetadvisor.com"&gt;StreetAdvisor.com&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://fuser.com"&gt;FUser.com&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.neverrunwithscissors.com/2009/04/18/improving-front-end-website-performance-in-aspnet-mvc/"&gt;Include-Combiner&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a title="HippoValidator" href=" http://www.hippovalidator.com"&gt;HippoValidator&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;References&lt;/span&gt;&lt;br&gt;
YUI Compressor home page: &lt;a href="http://developer.yahoo.com/yui/compressor/" target="_new"&gt;
http://developer.yahoo.com/yui/compressor/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style="text-decoration:underline"&gt;Thank You's!&lt;/span&gt;&lt;br&gt;
We couldn't have made this project without the support of the following software:&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.jetbrains.com/resharper/features/code_refactoring.html"&gt;&lt;img src="http://i.imgur.com/FyAhs.png" alt="The best C# refactoring plugin for Visual Studio"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
&lt;br&gt;
Please support them buy trying their software. If you like it (like we do!) then purchase it. Thank you :)&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>purekrome</author><pubDate>Sat, 30 Mar 2013 02:03:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130330020316A</guid></item><item><title>Commented Issue: Updated to latest YUI.Compressor and getting failures [10869]</title><link>http://yuicompressor.codeplex.com/workitem/10869</link><description>I tried updating from Yahoo.YUI.COmpressort.dll &amp;#40;1.2.2.0&amp;#41; to the latest version of Yahoo.YUI.Compressor.NET &amp;#40;2.2.0.0&amp;#41;, including the EMCA and Iesi.Collections dependencies, and I&amp;#39;m getting the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;errorMSB4062&amp;#58; The &amp;#34;CompressorTask&amp;#34; task could not be loaded from the assembly C&amp;#58;&amp;#92;inetpub&amp;#92;wwwroot&amp;#92;Build&amp;#92;Tools&amp;#92;..&amp;#92;Libraries&amp;#92;SharedAssemblies&amp;#92;Yahoo.Yui.Compressor.dll.  Confirm that the &amp;#60;UsingTask&amp;#62; declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.&lt;br /&gt;&lt;br /&gt;Note&amp;#58; I copied these files over the old ones in the same directory, refreshed code, and verified my msbuild file still had the correct references.  I&amp;#39;ve tried several variations of configurations, the most simple of which is below.&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#60;UsingTask TaskName&amp;#61;&amp;#34;CompressorTask&amp;#34; AssemblyFile&amp;#61;&amp;#34;..&amp;#92;Libraries&amp;#92;SharedAssemblies&amp;#92;YUI&amp;#92;Yahoo.Yui.Compressor.Build.MsBuild.dll&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;  &amp;#60;Target Name&amp;#61;&amp;#34;AfterBuild&amp;#34;&amp;#62;&lt;br /&gt;    &lt;br /&gt;    &amp;#60;ItemGroup&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;CalendarPopupStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;CalendarStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;ComboBoxStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;GridStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;MainMenuStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;MainStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;NavigationStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;TabStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;WebPartStyles.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;HomesCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;FullCalendar.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;ItemGroup&amp;#62;&lt;br /&gt;    &lt;br /&gt;    &amp;#60;CompressorTask SourceFiles&amp;#61;&amp;#34;&amp;#64;&amp;#40;HomesCss&amp;#41;&amp;#34;&lt;br /&gt;                    OutputFile&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;homes&amp;#92;styles&amp;#92;Site.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;ItemGroup&amp;#62;&lt;br /&gt;      &amp;#60;MobileiPhoneCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;mobile&amp;#92;styles&amp;#92;iPhone2.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;ItemGroup&amp;#62;&lt;br /&gt;    &amp;#60;CompressorTask SourceFiles&amp;#61;&amp;#34;&amp;#64;&amp;#40;MobileiPhoneCss&amp;#41;&amp;#34;&lt;br /&gt;                    OutputFile&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;mobile&amp;#92;styles&amp;#92;iPhone2.css&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;ItemGroup&amp;#62;&lt;br /&gt;      &amp;#60;PartnerDesktopCss Include&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;partner&amp;#92;styles&amp;#92;Desktop.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;ItemGroup&amp;#62;&lt;br /&gt;    &amp;#60;CompressorTask SourceFiles&amp;#61;&amp;#34;&amp;#64;&amp;#40;PartnerDesktopCss&amp;#41;&amp;#34;&lt;br /&gt;                    OutputFile&amp;#61;&amp;#34;&amp;#36;&amp;#40;ReleasePath&amp;#41;&amp;#92;partner&amp;#92;styles&amp;#92;Desktop.css&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m guessing that something is changed with the newer file and I don&amp;#39;t have my configurations set correctly.&lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Comments: ** Comment from web user: purekrome ** &lt;p&gt;group hi-5!&lt;/p&gt;</description><author>purekrome</author><pubDate>Wed, 13 Mar 2013 23:41:19 GMT</pubDate><guid isPermaLink="false">Commented Issue: Updated to latest YUI.Compressor and getting failures [10869] 20130313114119P</guid></item><item><title>Closed Issue: Javascript compressor problem (missing formal parameter) [10547]</title><link>http://yuicompressor.codeplex.com/workitem/10547</link><description>Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have been using your library for some time and it works great.  However I just got a problem today when trying to compress the Opentip.js library &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.opentip.org&amp;#47;&amp;#41;.  I isolated the problem to this code&amp;#58;&lt;br /&gt;&lt;br /&gt;function abc&amp;#40;string&amp;#41; &amp;#123;&lt;br /&gt;  string.replace&amp;#40;&amp;#47;&amp;#40;&amp;#91;A-Z&amp;#93;&amp;#41;&amp;#47;g, function&amp;#40;_, char&amp;#41; &amp;#123;&lt;br /&gt;    return &amp;#34;-&amp;#34; &amp;#43; &amp;#40;char.toLowerCase&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;  &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&amp;#59;&lt;br /&gt;&lt;br /&gt;I get this error&amp;#58; &amp;#34;missing formal parameter&amp;#34;.  I updated to the latest version and I still have the error.&lt;br /&gt;Having a function as the second parameter is valid according to the Mozilla documentation &amp;#40;https&amp;#58;&amp;#47;&amp;#47;developer.mozilla.org&amp;#47;en-US&amp;#47;docs&amp;#47;JavaScript&amp;#47;Reference&amp;#47;Global_Objects&amp;#47;String&amp;#47;replace&amp;#41;.&lt;br /&gt;&lt;br /&gt;Is there a way to fix &amp;#47; ignore the error&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;</description><author>freeranger</author><pubDate>Wed, 13 Mar 2013 15:42:17 GMT</pubDate><guid isPermaLink="false">Closed Issue: Javascript compressor problem (missing formal parameter) [10547] 20130313034217P</guid></item></channel></rss>