<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dan Rigby &#187; Code</title>
	<atom:link href="http://danrigby.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://danrigby.com</link>
	<description>Random Thoughts About Life, Technology, and Software</description>
	<lastBuildDate>Thu, 01 Jul 2010 16:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Automatically Cancelling a Failed Build in Visual Studio</title>
		<link>http://danrigby.com/2009/10/04/automatically-cancelling-a-failed-build-in-visual-studio/</link>
		<comments>http://danrigby.com/2009/10/04/automatically-cancelling-a-failed-build-in-visual-studio/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 01:43:19 +0000</pubDate>
		<dc:creator>Dan Rigby</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[VisualStudio]]></category>

		<guid isPermaLink="false">http://danrigby.com/?p=238</guid>
		<description><![CDATA[Stumbled across this little tip on how to automatically cancel a build in progress after getting an error. You normally have to wait for visual studio to try to finish building all of the remaining projects before getting a chance to fix an the issue and this can take a few minutes if you have [...]]]></description>
			<content:encoded><![CDATA[<p>Stumbled across <a href="http://www.ehow.com/how_5025041_automatically-visual-studio-build-error.html" target="_blank">this little tip</a> on how to automatically cancel a build in progress after getting an error. You normally have to wait for visual studio to try to finish building all of the remaining projects before getting a chance to fix an the issue and this can take a few minutes if you have a lot of projects in your solution.</p>
<p><strong>Step 1:</strong> Open the Visual Studio macros IDE by navigating to Tools –&gt; Macros –&gt; Macros IDE.</p>
<p><strong>Step 2:</strong> Double click on “MyMacros” and then on “EnvironmentEvents”. You should now be looking at a VB code editor window.</p>
<p><strong>Step 3:</strong> Paste the following code directly before the “End Module” line:</p>
<pre class="brush: vb;">
Private Sub BuildEvents_OnBuildProjConfigDone(ByVal Project As String, ByVal ProjectConfig As String, ByVal Platform As String, ByVal SolutionConfig As String, ByVal Success As Boolean) Handles BuildEvents.OnBuildProjConfigDone

    If Success = False Then
        DTE.ExecuteCommand(&quot;Build.Cancel&quot;)
    End If

End Sub
</pre>
<p><strong>Step 4: </strong>Save and close the Macro Editor window and IDE.</p>
<p>All done!</p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="mailto:?subject=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio&amp;body=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F" title="email"><img src="http://danrigby.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio" title="DotNetKicks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio&amp;bodytext=Stumbled%20across%20this%20little%20tip%20on%20how%20to%20automatically%20cancel%20a%20build%20in%20progress%20after%20getting%20an%20error.%20You%20normally%20have%20to%20wait%20for%20visual%20studio%20to%20try%20to%20finish%20building%20all%20of%20the%20remaining%20projects%20before%20getting%20a%20chance%20to%20fix%20an%20the%20issue" title="Digg"><img src="http://danrigby.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio&amp;notes=Stumbled%20across%20this%20little%20tip%20on%20how%20to%20automatically%20cancel%20a%20build%20in%20progress%20after%20getting%20an%20error.%20You%20normally%20have%20to%20wait%20for%20visual%20studio%20to%20try%20to%20finish%20building%20all%20of%20the%20remaining%20projects%20before%20getting%20a%20chance%20to%20fix%20an%20the%20issue" title="del.icio.us"><img src="http://danrigby.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F" title="Technorati"><img src="http://danrigby.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio" title="StumbleUpon"><img src="http://danrigby.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio&amp;source=Dan+Rigby+Random+Thoughts+About+Life%2C+Technology%2C+and+Software&amp;summary=Stumbled%20across%20this%20little%20tip%20on%20how%20to%20automatically%20cancel%20a%20build%20in%20progress%20after%20getting%20an%20error.%20You%20normally%20have%20to%20wait%20for%20visual%20studio%20to%20try%20to%20finish%20building%20all%20of%20the%20remaining%20projects%20before%20getting%20a%20chance%20to%20fix%20an%20the%20issue" title="LinkedIn"><img src="http://danrigby.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;t=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio" title="Facebook"><img src="http://danrigby.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio%20-%20http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F" title="Twitter"><img src="http://danrigby.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio&amp;annotation=Stumbled%20across%20this%20little%20tip%20on%20how%20to%20automatically%20cancel%20a%20build%20in%20progress%20after%20getting%20an%20error.%20You%20normally%20have%20to%20wait%20for%20visual%20studio%20to%20try%20to%20finish%20building%20all%20of%20the%20remaining%20projects%20before%20getting%20a%20chance%20to%20fix%20an%20the%20issue" title="Google Bookmarks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F10%2F04%2Fautomatically-cancelling-a-failed-build-in-visual-studio%2F&amp;title=Automatically%20Cancelling%20a%20Failed%20Build%20in%20Visual%20Studio" title="Live"><img src="http://danrigby.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danrigby.com/2009/10/04/automatically-cancelling-a-failed-build-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retroactive Browser Compatibility</title>
		<link>http://danrigby.com/2009/04/19/retroactive-browser-compatibility/</link>
		<comments>http://danrigby.com/2009/04/19/retroactive-browser-compatibility/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 22:45:03 +0000</pubDate>
		<dc:creator>Dan Rigby</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Compatibility]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://danrigby.com/2009/04/19/retroactive-browser-compatibility/</guid>
		<description><![CDATA[When working on an existing web application you may be placed in a situation where you need to support new browsers, or just other browsers that your app wasn’t originally coded for or tested in. In my case, this took the form of a web app developed exclusively for Internet Explorer that now needed to [...]]]></description>
			<content:encoded><![CDATA[<p>When working on an existing web application you may be placed in a situation where you need to support new browsers, or just other browsers that your app wasn’t originally coded for or tested in. In my case, this took the form of a web app developed exclusively for Internet Explorer that now needed to support other browsers. As I went through and corrected many of the browser incompatibilities, I noticed a few common ones, and wanted to mention them in case it’s beneficial to others in the same situation.</p>
<p>I should mention up front that jQuery was an indispensible tool when I was working on this project as in many cases I was able to replace the offending JavaScript with a jQuery equivalent that was cross browser compatible. If you’re a web developer and are not familiar with <a href="http://www.jquery.com" target="_blank">jQuery</a>, you probably should be. <img src='http://danrigby.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>So a couple of things to look out for… I wanted to list the easiest ones to spot first as you can do a text search and usually find all of them:</p>
<ol>
<li><strong>CSS Expressions:</strong>
<ul>
<li>Were implemented in IE5 and allow you to assign a JavaScript expression to a CSS property.</li>
<li>Were deprecated in IE8 standards mode, see <a href="http://blogs.msdn.com/ie/archive/2008/10/16/ending-expressions.aspx" target="_blank">http://blogs.msdn.com/ie/archive/2008/10/16/ending-expressions.aspx</a> for details.</li>
<li>IE specific.</li>
<li>Search for: “expression(”</li>
<li>Replace with JavaScript that dynamically modifies the CSS properties in response to specific browser events (onresize, etc).
<ul>
<li>In many cases this can be more performant than CSS expressions because you can choose to bind to specific events (CSS expressions are reevaluated *every* time a JavaScript event with at least 1 listener fires.</li>
</ul>
</li>
</ul>
</li>
<li><strong>outerHTML:</strong>
<ul>
<li>“Get or set the HTML of the entire node x, including the outermost tag (element x itself).”</li>
<li>Example: x.outerHTML = &#8220;Let&#8217;s &lt;u&gt;change&lt;/u&gt; it!&#8221;</li>
<li>IE specific.</li>
<li>Search for: “outerHTML”</li>
<li>Replace with innerHTML or W3C DOM methods. innerHTML is in theory faster, but IE and Konquerer have some issues when innerHTML is used with tables. Replacing outerHTML with calls to innerHTML will also require some changes to the logic using outerHTML as innerHTML is slightly different in behavior.</li>
</ul>
</li>
<li><strong>Visual Filters:</strong>
<ul>
<li>Used commonly to create gradients without using images.</li>
<li>More information on Visual Filters: <a href="http://msdn.microsoft.com/en-us/library/ms532853.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms532853.aspx</a></li>
<li>IE specific.</li>
<li>Example: &lt;ELEMENT STYLE=&#8221;filter:progid:DXImageTransform.Microsoft.Gradient(sProperties)&#8221; &#8230; &gt;</li>
<li>Search for: “DXImageTransform”</li>
<li>Replace with… Unfortunately there really isn’t an equivalent for this. Some of the visual filters can be replicated using standard CSS properties, but not all of them. As convenient as the visual filters are, they will only work in internet explorer at the moment.</li>
</ul>
</li>
<li><strong>Window.Event:</strong>
<ul>
<li>Used to access JavaScript event information in IE.</li>
<li>IE Specific.</li>
<li>Search for: “window.event”</li>
<li>This item could have several pages written about it, but the short story is that IE handles passing JavaScript event information differently than other browsers. You will need to code your JavaScript to accommodate this difference. jQuery can again be useful here as it can abstract a lot of this problem away from you. I recommend reading the section on events here: <a href="http://www.reloco.com.ar/mozilla/compat.html" target="_blank">http://www.reloco.com.ar/mozilla/compat.html</a> as it will give you an overview of the problem and how to address it.</li>
</ul>
</li>
<li><strong>Custom Attributes:</strong>
<ul>
<li>Used to defined custom element attributes.</li>
<li>Getting or setting custom attributes without using DOM methods is not cross browser compatible.
<ul>
<li>Example: element.MyProp = “This doesn’t work in all browsers.”</li>
</ul>
</li>
<li>Search for… No good search string for these. You just need to keep your eyes out for JavaScript that makes calls to custom attributes without using DOM methods (or jQuery).</li>
<li>Replace with: calls to .getAttribute(“MyProp”) or setAttribute(“MyProp”) or if using jQuery, element.attr() as shown here: <a href="http://docs.jquery.com/Attributes/attr" target="_blank">http://docs.jquery.com/Attributes/attr</a>.</li>
</ul>
</li>
</ol>
<p>This list is by no means exhaustive, but I wanted to point out many of the common issues I have come across. Your mileage may vary. I recommend checking out the references listed below for a lot more good compatibility information. I’ve tried to check all of my facts, but if you notice anything that seems off, let me know so I can fix it!</p>
<p><strong>References:</strong></p>
<ul>
<li><a href="http://www.reloco.com.ar/mozilla/compat.html" target="_blank">http://www.reloco.com.ar/mozilla/compat.html</a> – “Making your web browser compatible with Firefox”
<ul>
<li>A good overview of many of the common browser compatibility problems faced when making an web app written for IE work in Firefox</li>
</ul>
</li>
<li><a href="http://www.quirksmode.org/compatibility.html" target="_blank">http://www.quirksmode.org/compatibility.html</a> – “Compatibility Master Table”
<ul>
<li>The holy grail of browser compatibility information. Seriously… Want to know if a browser fully supports CSS2, CSS3, DOM, etc? It’s here.</li>
</ul>
</li>
<li><a title="http://reference.sitepoint.com/" href="http://reference.sitepoint.com/" target="_blank">http://reference.sitepoint.com/</a> – “CSS/HTML/JavaScript Reference”
<ul>
<li>Reference site for CSS, HTML, and JavaScript information. Its got a clean layout and additionally contains browser compatibility information for each of the items.</li>
</ul>
</li>
<li><a href="http://blogs.msdn.com/ie/archive/2009/03/12/site-compatibility-and-ie8.aspx" target="_blank">http://blogs.msdn.com/ie/archive/2009/03/12/site-compatibility-and-ie8.aspx</a> – “Site Compatibility and IE8”
<ul>
<li>A page detailing potential issues and fixes for making your pages compatible with IE8 in Standards Mode. This is actually a good reference for potential cross browser problems as most of the items listed are cross browser compatibility issues as well.</li>
</ul>
</li>
</ul>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="mailto:?subject=Retroactive%20Browser%20Compatibility&amp;body=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F" title="email"><img src="http://danrigby.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility" title="DotNetKicks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility&amp;bodytext=When%20working%20on%20an%20existing%20web%20application%20you%20may%20be%20placed%20in%20a%20situation%20where%20you%20need%20to%20support%20new%20browsers%2C%20or%20just%20other%20browsers%20that%20your%20app%20wasn%E2%80%99t%20originally%20coded%20for%20or%20tested%20in.%20In%20my%20case%2C%20this%20took%20the%20form%20of%20a%20web%20app%20develope" title="Digg"><img src="http://danrigby.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility&amp;notes=When%20working%20on%20an%20existing%20web%20application%20you%20may%20be%20placed%20in%20a%20situation%20where%20you%20need%20to%20support%20new%20browsers%2C%20or%20just%20other%20browsers%20that%20your%20app%20wasn%E2%80%99t%20originally%20coded%20for%20or%20tested%20in.%20In%20my%20case%2C%20this%20took%20the%20form%20of%20a%20web%20app%20develope" title="del.icio.us"><img src="http://danrigby.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F" title="Technorati"><img src="http://danrigby.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility" title="StumbleUpon"><img src="http://danrigby.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility&amp;source=Dan+Rigby+Random+Thoughts+About+Life%2C+Technology%2C+and+Software&amp;summary=When%20working%20on%20an%20existing%20web%20application%20you%20may%20be%20placed%20in%20a%20situation%20where%20you%20need%20to%20support%20new%20browsers%2C%20or%20just%20other%20browsers%20that%20your%20app%20wasn%E2%80%99t%20originally%20coded%20for%20or%20tested%20in.%20In%20my%20case%2C%20this%20took%20the%20form%20of%20a%20web%20app%20develope" title="LinkedIn"><img src="http://danrigby.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;t=Retroactive%20Browser%20Compatibility" title="Facebook"><img src="http://danrigby.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Retroactive%20Browser%20Compatibility%20-%20http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F" title="Twitter"><img src="http://danrigby.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility&amp;annotation=When%20working%20on%20an%20existing%20web%20application%20you%20may%20be%20placed%20in%20a%20situation%20where%20you%20need%20to%20support%20new%20browsers%2C%20or%20just%20other%20browsers%20that%20your%20app%20wasn%E2%80%99t%20originally%20coded%20for%20or%20tested%20in.%20In%20my%20case%2C%20this%20took%20the%20form%20of%20a%20web%20app%20develope" title="Google Bookmarks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F04%2F19%2Fretroactive-browser-compatibility%2F&amp;title=Retroactive%20Browser%20Compatibility" title="Live"><img src="http://danrigby.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danrigby.com/2009/04/19/retroactive-browser-compatibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FxCop 1.36 and StyleCop 4.3</title>
		<link>http://danrigby.com/2009/01/18/fxcop-136-and-stylecop-43/</link>
		<comments>http://danrigby.com/2009/01/18/fxcop-136-and-stylecop-43/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 23:26:23 +0000</pubDate>
		<dc:creator>Dan Rigby</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VisualStudio]]></category>

		<guid isPermaLink="false">http://danrigby.com/?p=160</guid>
		<description><![CDATA[While this is not new news, I realized that finding the link to download FxCop 1.36 is still not as straight forward as I&#8217;d like it to be (most links are still pointing to the 1.35 on msdn code or the 1.36 Beta 2 release), so I thought I would add the link here so [...]]]></description>
			<content:encoded><![CDATA[<p>While this is not new news, I realized that finding the link to download FxCop 1.36 is still not as straight forward as I&#8217;d like it to be (most links are still pointing to the 1.35 on msdn code or the 1.36 Beta 2 release), so I thought I would add the link here so I can find it again, or anyone else for that matter.</p>
<ul>
<li>FxCop 1.36 download: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9aeaa970-f281-4fb0-aba1-d59d7ed09772&amp;DisplayLang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=9aeaa970-f281-4fb0-aba1-d59d7ed09772&amp;DisplayLang=en</a></li>
<li>Whats new in FxCop 1.36 can be found in <a href="http://blogs.msdn.com/fxcop/archive/2008/08/19/fxcop-1-36-released.aspx" target="_blank">this post</a> on the <a href="http://blogs.msdn.com/fxcop/" target="_blank">MS Visual Studio Code Analysis Team Blog</a>.</li>
</ul>
<p>For those who haven&#8217;t used it before, FxCop is a tool to analyze .NET assemblies based on a set of rules in order to find potential defects or design issues. The tool comes with a lot of very helpful built in analysis rules that are broken out into seperate categories (e.g. Performance, Design, Globalization, etc..). A lot of Continuous Integration tools have the ability to include FxCop analysis as part of a build so that the warnings FxCop generates can be tracked over time (hopefully in the *downward* direction).</p>
<p>And on a somewhat related note, I also wanted to add the download link for StyleCop, which ironically, is easy to find even though I&#8217;m pretty sure a lot more people are using FxCop.</p>
<ul>
<li>StyleCop 4.3 download: <a href="http://code.msdn.microsoft.com/sourceanalysis/Release/ProjectReleases.aspx" target="_blank">http://code.msdn.microsoft.com/sourceanalysis/Release/ProjectReleases.aspx</a></li>
<li>Updates and news about StyleCop can be found on the <a href="http://blogs.msdn.com/sourceanalysis/" target="_blank">StyleCop Blog</a>.</li>
</ul>
<p>StyleCop is a tool which analyzes C# source code using a set of rules (much like FxCop) in order to enforce code styling guidelines. It can be used in Continuous Integration projects to verify code style rules are being met. The rule documentation is also available at the link above. I have found reading the rule justifications to be quite educational at times, especially since many of the StyleCop rules run counter to common .NET programming practices that I&#8217;ve seen.</p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="mailto:?subject=FxCop%201.36%20and%20StyleCop%204.3&amp;body=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F" title="email"><img src="http://danrigby.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3" title="DotNetKicks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3&amp;bodytext=While%20this%20is%20not%20new%20news%2C%20I%20realized%20that%20finding%20the%20link%20to%20download%20FxCop%201.36%20is%20still%20not%20as%20straight%20forward%20as%20I%27d%20like%20it%20to%20be%20%28most%20links%20are%20still%20pointing%20to%20the%201.35%20on%20msdn%20code%20or%20the%201.36%20Beta%202%20release%29%2C%20so%20I%20thought%20I%20would%20add%20th" title="Digg"><img src="http://danrigby.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3&amp;notes=While%20this%20is%20not%20new%20news%2C%20I%20realized%20that%20finding%20the%20link%20to%20download%20FxCop%201.36%20is%20still%20not%20as%20straight%20forward%20as%20I%27d%20like%20it%20to%20be%20%28most%20links%20are%20still%20pointing%20to%20the%201.35%20on%20msdn%20code%20or%20the%201.36%20Beta%202%20release%29%2C%20so%20I%20thought%20I%20would%20add%20th" title="del.icio.us"><img src="http://danrigby.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F" title="Technorati"><img src="http://danrigby.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3" title="StumbleUpon"><img src="http://danrigby.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3&amp;source=Dan+Rigby+Random+Thoughts+About+Life%2C+Technology%2C+and+Software&amp;summary=While%20this%20is%20not%20new%20news%2C%20I%20realized%20that%20finding%20the%20link%20to%20download%20FxCop%201.36%20is%20still%20not%20as%20straight%20forward%20as%20I%27d%20like%20it%20to%20be%20%28most%20links%20are%20still%20pointing%20to%20the%201.35%20on%20msdn%20code%20or%20the%201.36%20Beta%202%20release%29%2C%20so%20I%20thought%20I%20would%20add%20th" title="LinkedIn"><img src="http://danrigby.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;t=FxCop%201.36%20and%20StyleCop%204.3" title="Facebook"><img src="http://danrigby.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=FxCop%201.36%20and%20StyleCop%204.3%20-%20http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F" title="Twitter"><img src="http://danrigby.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3&amp;annotation=While%20this%20is%20not%20new%20news%2C%20I%20realized%20that%20finding%20the%20link%20to%20download%20FxCop%201.36%20is%20still%20not%20as%20straight%20forward%20as%20I%27d%20like%20it%20to%20be%20%28most%20links%20are%20still%20pointing%20to%20the%201.35%20on%20msdn%20code%20or%20the%201.36%20Beta%202%20release%29%2C%20so%20I%20thought%20I%20would%20add%20th" title="Google Bookmarks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F18%2Ffxcop-136-and-stylecop-43%2F&amp;title=FxCop%201.36%20and%20StyleCop%204.3" title="Live"><img src="http://danrigby.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danrigby.com/2009/01/18/fxcop-136-and-stylecop-43/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sample Source Code for Silverlight 2 Runtime and SDK Controls</title>
		<link>http://danrigby.com/2009/01/08/sample-source-code-for-silverlight-2-runtime-and-sdk-controls/</link>
		<comments>http://danrigby.com/2009/01/08/sample-source-code-for-silverlight-2-runtime-and-sdk-controls/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:07:57 +0000</pubDate>
		<dc:creator>Dan Rigby</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.rigbyonline.net/?p=109</guid>
		<description><![CDATA[Microsoft has posted the source code and unit tests for many of their Silverlight Controls on the Microsoft Download Center. From the download page:   Brief Description This download contains the source code and unit tests for the managed Silverlight 2 controls included in System.Windows.dll, System.Windows.Controls.dll, and System.Windows.Controls.Data.dll.   Quick Details File Name: Silverlight 2 [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has <a href="http://www.microsoft.com/downloads/details.aspx?familyid=eb83ed4c-ac85-4de9-8395-285628ee2254&amp;displaylang=en" target="_blank">posted the source code and unit tests</a> for many of their Silverlight Controls on the Microsoft Download Center. From the download page:</p>
<blockquote><p> </p>
<h5>Brief Description</h5>
<div id="quickDescription">This download contains the source code and unit tests for the managed Silverlight 2 controls included in <strong>System.Windows.dll</strong>, <strong>System.Windows.Controls.dll</strong>, and <strong>System.Windows.Controls.Data.dll</strong>.</div>
<p> </p>
<h5>Quick Details</h5>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="quickInfoName">File Name:</td>
<td class="quickInfoValue">Silverlight 2 Control Sample Source Code and Apps.exe</td>
</tr>
<tr>
<td class="quickInfoName">Version:</td>
<td class="quickInfoValue">2</td>
</tr>
<tr>
<td class="quickInfoName">Date Published:</td>
<td class="quickInfoValue">1/7/2009</td>
</tr>
<tr>
<td class="quickInfoName">Language:</td>
<td class="quickInfoValue">English</td>
</tr>
<tr>
<td class="quickInfoName">Download Size:</td>
<td class="quickInfoValue">881 KB</td>
</tr>
<tr>
<td class="quickInfoName">Estimated Download Time:</td>
<td id="staticEstimate" class="quickInfoValue">2 min 56K</td>
</tr>
</tbody>
</table>
<p> </p>
<div>The source code for the Silverlight 2 controls includes implementations for the following controls: </div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="500px">
<tbody>
<tr>
<td width="33%">
<ul>
<li>ButtonBase</li>
<li>Button</li>
<li>HyperlinkButton</li>
<li>CheckBox</li>
<li>RadioButton</li>
<li>CheckBox</li>
</ul>
</td>
<td width="33%">
<ul>
<li>ToogleButton</li>
<li>RepeatButton</li>
<li>RangeBase</li>
<li>Slider</li>
<li>ScrollBar</li>
<li>ProgressBar</li>
</ul>
</td>
<td width="34%">
<ul>
<li>Calendar</li>
<li>DataGrid</li>
<li>DatePicker</li>
<li>GridSplitter</li>
<li>TabControl</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<p>You will need need the “<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;displaylang=en" target="_blank">Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1</a>” installed to open to projects and code included in the download.</p>
<p>Many thanks to Greg at <a href="http://coolthingoftheday.blogspot.com/" target="_blank">Greg&#8217;s Cool [Insert Clever Name] of the Day</a> blog for <a href="http://coolthingoftheday.blogspot.com/2009/01/want-source-code-and-unit-tests-for.html" target="_blank">discovering this</a>.</p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="mailto:?subject=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls&amp;body=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F" title="email"><img src="http://danrigby.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls" title="DotNetKicks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls&amp;bodytext=Microsoft%20has%20posted%20the%20source%20code%20and%20unit%20tests%20for%20many%20of%20their%20Silverlight%20Controls%20on%20the%20Microsoft%20Download%20Center.%20From%20the%20download%20page%3A%0D%0A%C2%A0%0D%0ABrief%20Description%0D%0AThis%20download%20contains%20the%20source%20code%20and%20unit%20tests%20for%20the%20managed%20Silverl" title="Digg"><img src="http://danrigby.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls&amp;notes=Microsoft%20has%20posted%20the%20source%20code%20and%20unit%20tests%20for%20many%20of%20their%20Silverlight%20Controls%20on%20the%20Microsoft%20Download%20Center.%20From%20the%20download%20page%3A%0D%0A%C2%A0%0D%0ABrief%20Description%0D%0AThis%20download%20contains%20the%20source%20code%20and%20unit%20tests%20for%20the%20managed%20Silverl" title="del.icio.us"><img src="http://danrigby.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F" title="Technorati"><img src="http://danrigby.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls" title="StumbleUpon"><img src="http://danrigby.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls&amp;source=Dan+Rigby+Random+Thoughts+About+Life%2C+Technology%2C+and+Software&amp;summary=Microsoft%20has%20posted%20the%20source%20code%20and%20unit%20tests%20for%20many%20of%20their%20Silverlight%20Controls%20on%20the%20Microsoft%20Download%20Center.%20From%20the%20download%20page%3A%0D%0A%C2%A0%0D%0ABrief%20Description%0D%0AThis%20download%20contains%20the%20source%20code%20and%20unit%20tests%20for%20the%20managed%20Silverl" title="LinkedIn"><img src="http://danrigby.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;t=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls" title="Facebook"><img src="http://danrigby.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls%20-%20http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F" title="Twitter"><img src="http://danrigby.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls&amp;annotation=Microsoft%20has%20posted%20the%20source%20code%20and%20unit%20tests%20for%20many%20of%20their%20Silverlight%20Controls%20on%20the%20Microsoft%20Download%20Center.%20From%20the%20download%20page%3A%0D%0A%C2%A0%0D%0ABrief%20Description%0D%0AThis%20download%20contains%20the%20source%20code%20and%20unit%20tests%20for%20the%20managed%20Silverl" title="Google Bookmarks"><img src="http://danrigby.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdanrigby.com%2F2009%2F01%2F08%2Fsample-source-code-for-silverlight-2-runtime-and-sdk-controls%2F&amp;title=Sample%20Source%20Code%20for%20Silverlight%202%20Runtime%20and%20SDK%20Controls" title="Live"><img src="http://danrigby.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://danrigby.com/2009/01/08/sample-source-code-for-silverlight-2-runtime-and-sdk-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
