<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatically minify and combine JavaScript in Visual Studio</title>
	<atom:link href="http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 16 May 2012 23:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Performance Optimising SharePoint Sites &#8211; Part 2 &#171; SPMatt</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-63466</link>
		<dc:creator>Performance Optimising SharePoint Sites &#8211; Part 2 &#171; SPMatt</dc:creator>
		<pubDate>Wed, 04 Apr 2012 15:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-63466</guid>
		<description>[...] in automating the minification process, both for Visual Studio described in Dave Ward&#8217;s post Automatically minify and combine JavaScript in Visual Studio or if you prefer it with a SharePoint flavour via Waldek Mastykarz&#8217;s Minifying JavaScript and [...]</description>
		<content:encoded><![CDATA[<p>[...] in automating the minification process, both for Visual Studio described in Dave Ward&#8217;s post Automatically minify and combine JavaScript in Visual Studio or if you prefer it with a SharePoint flavour via Waldek Mastykarz&#8217;s Minifying JavaScript and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-63004</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Thu, 23 Feb 2012 15:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-63004</guid>
		<description>Open the extension manager and do a search for Chripy.  It&#039;s a new tool that does the same things with almost no setup- and in real-time.  I had been using the method in this article for a year or so, and switched to Chripy a couple months ago.  Good stuff!</description>
		<content:encoded><![CDATA[<p>Open the extension manager and do a search for Chripy.  It&#8217;s a new tool that does the same things with almost no setup- and in real-time.  I had been using the method in this article for a year or so, and switched to Chripy a couple months ago.  Good stuff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris K</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-62999</link>
		<dc:creator>Kris K</dc:creator>
		<pubDate>Thu, 23 Feb 2012 11:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-62999</guid>
		<description>... oh and more-over, the character reappears everytime I build my project. Another reason I needed it fixed.</description>
		<content:encoded><![CDATA[<p>&#8230; oh and more-over, the character reappears everytime I build my project. Another reason I needed it fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris K</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-62998</link>
		<dc:creator>Kris K</dc:creator>
		<pubDate>Thu, 23 Feb 2012 11:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-62998</guid>
		<description>Yeah, it did break my JS code (unrecognized character: error, or something). 
Manual re-save is an option, but I&#039;s hoping for a more automated/programmatic solution,,
like: save the file with proper UTF-8 encoding in the &quot;command prompt&quot; (build-event command line) itself. Only problem: Have been trying to find &quot;DOS command-prompt&quot; commands to achieve this, but no luck. If any ideas, please do help! :)

Hmmm you say &lt;a href=&quot;http://ajaxmin.codeplex.com&quot; rel=&quot;nofollow&quot;&gt;AjaxMin&lt;/a&gt;? Nice! I&#039;ll try that too.
But you know, after going through this post : &lt;a href=&quot;http://coderjournal.com/2010/01/yahoo-yui-compressor-vs-microsoft-ajax-minifier-vs-google-closure-compiler/&quot; rel=&quot;nofollow&quot;&gt;JS-Minifiers Comparisons&lt;/a&gt; : I am a bit biased (negatively) about MS AjaxMinifier.

Anyway, can you tell me which command options do you use with AjaxMin for a simple JS project with say 15-20 JS files of avg size 10 kb? 
(I find it wiser not to burn my hand tryin to re-discover fire. Hence asking you :P)

Thanks!
Kris</description>
		<content:encoded><![CDATA[<p>Yeah, it did break my JS code (unrecognized character: error, or something).<br />
Manual re-save is an option, but I&#8217;s hoping for a more automated/programmatic solution,,<br />
like: save the file with proper UTF-8 encoding in the &#8220;command prompt&#8221; (build-event command line) itself. Only problem: Have been trying to find &#8220;DOS command-prompt&#8221; commands to achieve this, but no luck. If any ideas, please do help! :)</p>
<p>Hmmm you say <a href="http://ajaxmin.codeplex.com" rel="nofollow">AjaxMin</a>? Nice! I&#8217;ll try that too.<br />
But you know, after going through this post : <a href="http://coderjournal.com/2010/01/yahoo-yui-compressor-vs-microsoft-ajax-minifier-vs-google-closure-compiler/" rel="nofollow">JS-Minifiers Comparisons</a> : I am a bit biased (negatively) about MS AjaxMinifier.</p>
<p>Anyway, can you tell me which command options do you use with AjaxMin for a simple JS project with say 15-20 JS files of avg size 10 kb?<br />
(I find it wiser not to burn my hand tryin to re-discover fire. Hence asking you :P)</p>
<p>Thanks!<br />
Kris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-62979</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 22 Feb 2012 16:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-62979</guid>
		<description>I haven&#039;t seen the BOM character cause any trouble before. Are you positive that it&#039;s the culprit?

If you re-save your source files via &quot;Save with Encoding&quot; and choose the UTF-8 without signature option (as Torben mentioned above), you can eliminate that character. You only need to do it once per file. Subsequent modifications to that file in VS won&#039;t reintroduce the BOM.

Since I originally wrote this, I moved from JSMin to using AjaxMin to do the minification. It handles the BOM correctly.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t seen the BOM character cause any trouble before. Are you positive that it&#8217;s the culprit?</p>
<p>If you re-save your source files via &#8220;Save with Encoding&#8221; and choose the UTF-8 without signature option (as Torben mentioned above), you can eliminate that character. You only need to do it once per file. Subsequent modifications to that file in VS won&#8217;t reintroduce the BOM.</p>
<p>Since I originally wrote this, I moved from JSMin to using AjaxMin to do the minification. It handles the BOM correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris K</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-62963</link>
		<dc:creator>Kris K</dc:creator>
		<pubDate>Tue, 21 Feb 2012 12:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-62963</guid>
		<description>Dave, thanks! Really helpful article.

So, I did setup and run it successfully in my project. And also found this UTF-8 character as the first char of my minified script.
Exact character: \\u0187
But this character is breaking my JS code when run on a browser. (I have to delete/re-save it manually to get this fixed).

So, the question: 
Is there an automated way to skip/delete this character from occurring in the final output file?
One solution that just popped-up in my head is that I could save the file in &lt;em&gt;UTF-8&lt;/em&gt; format? (But would that help???)

Please suggest!

Thanks,
Kris</description>
		<content:encoded><![CDATA[<p>Dave, thanks! Really helpful article.</p>
<p>So, I did setup and run it successfully in my project. And also found this UTF-8 character as the first char of my minified script.<br />
Exact character: \\u0187<br />
But this character is breaking my JS code when run on a browser. (I have to delete/re-save it manually to get this fixed).</p>
<p>So, the question:<br />
Is there an automated way to skip/delete this character from occurring in the final output file?<br />
One solution that just popped-up in my head is that I could save the file in <em>UTF-8</em> format? (But would that help???)</p>
<p>Please suggest!</p>
<p>Thanks,<br />
Kris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azmi</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-61578</link>
		<dc:creator>Azmi</dc:creator>
		<pubDate>Sat, 14 Jan 2012 00:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-61578</guid>
		<description>I have found an excellent webiste that I have been looking for in the last week to know how to use Jsmin to minify Javascript.

Many thanks Dave.
From Azmi (beginner software developer)</description>
		<content:encoded><![CDATA[<p>I have found an excellent webiste that I have been looking for in the last week to know how to use Jsmin to minify Javascript.</p>
<p>Many thanks Dave.<br />
From Azmi (beginner software developer)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Increase you website performance by reducing JavaScript and CSS file size automatically &#171; Diganta Kumar / Blog</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-52948</link>
		<dc:creator>Increase you website performance by reducing JavaScript and CSS file size automatically &#171; Diganta Kumar / Blog</dc:creator>
		<pubDate>Sun, 11 Dec 2011 07:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-52948</guid>
		<description>[...] Automatically minify and combine JavaScript in Visual Studio [...]</description>
		<content:encoded><![CDATA[<p>[...] Automatically minify and combine JavaScript in Visual Studio [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhil</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-46720</link>
		<dc:creator>Akhil</dc:creator>
		<pubDate>Fri, 21 Oct 2011 17:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-46720</guid>
		<description>Great Post! Thanx a lot for sharing :)</description>
		<content:encoded><![CDATA[<p>Great Post! Thanx a lot for sharing :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Workstation &#187; Mein Linkdump 12. September 2011</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-45796</link>
		<dc:creator>My Workstation &#187; Mein Linkdump 12. September 2011</dc:creator>
		<pubDate>Mon, 12 Sep 2011 10:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-45796</guid>
		<description>[...] Automatically minify and combine JavaScript in Visual Studio &#8211; Encosia [...]</description>
		<content:encoded><![CDATA[<p>[...] Automatically minify and combine JavaScript in Visual Studio &#8211; Encosia [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miked</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-44644</link>
		<dc:creator>miked</dc:creator>
		<pubDate>Thu, 11 Aug 2011 14:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-44644</guid>
		<description>Great article, thanks!</description>
		<content:encoded><![CDATA[<p>Great article, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-43555</link>
		<dc:creator>Kai</dc:creator>
		<pubDate>Wed, 08 Jun 2011 08:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-43555</guid>
		<description>Hi Dave,
thanks for the great tutorial, just one remark regarding:
&lt;i&gt;If you’re using Visual Basic, there will be no build events tab in the project properties. Instead, look for a build events button on the “Build” tab, which allows access the same functionality.&lt;/i&gt;
The tab in VB is called &quot;Compile&quot;, not &quot;Build&quot;.</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
thanks for the great tutorial, just one remark regarding:<br />
<i>If you’re using Visual Basic, there will be no build events tab in the project properties. Instead, look for a build events button on the “Build” tab, which allows access the same functionality.</i><br />
The tab in VB is called &#8220;Compile&#8221;, not &#8220;Build&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-43421</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 25 May 2011 14:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-43421</guid>
		<description>I think that may be possible using a &lt;code&gt;dir /s&lt;/code&gt; and DOS&#039; for-in construct to &lt;code&gt;type&lt;/code&gt; out each file&#039;s contents, but I&#039;m not sure of the exact syntax.</description>
		<content:encoded><![CDATA[<p>I think that may be possible using a <code>dir /s</code> and DOS&#8217; for-in construct to <code>type</code> out each file&#8217;s contents, but I&#8217;m not sure of the exact syntax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Lusk</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-43400</link>
		<dc:creator>Scott Lusk</dc:creator>
		<pubDate>Fri, 20 May 2011 20:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-43400</guid>
		<description>I have js files inside sub-folders as well. How could I combine not just the js files in the specified folder using type &quot;$(ProjectDir)js\*.debug.js&quot; but also any folders beneath that folder as well? Thanks for the great post.</description>
		<content:encoded><![CDATA[<p>I have js files inside sub-folders as well. How could I combine not just the js files in the specified folder using type &#8220;$(ProjectDir)js\*.debug.js&#8221; but also any folders beneath that folder as well? Thanks for the great post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/automatically-minify-and-combine-javascript-in-visual-studio/#comment-43350</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 12 May 2011 00:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=868#comment-43350</guid>
		<description>I&#039;ve been doing something along those lines based on the &quot;last modified&quot; timestamp of the executing assembly.  Works pretty well, for the most part.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been doing something along those lines based on the &#8220;last modified&#8221; timestamp of the executing assembly.  Works pretty well, for the most part.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

