<?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>Cory Plotts' Blog &#187; General</title>
	<atom:link href="http://www.cplotts.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cplotts.com</link>
	<description>Yet another UX guy, working in WPF/Silverlight.</description>
	<lastBuildDate>Fri, 25 Jun 2010 23:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Weird Visual Studio 2008 SP1 IntelliSense Issue Figured Out!</title>
		<link>http://www.cplotts.com/2010/04/23/weird-visual-studio-2008-sp1-intellisense-issue-figured-out/</link>
		<comments>http://www.cplotts.com/2010/04/23/weird-visual-studio-2008-sp1-intellisense-issue-figured-out/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 14:16:31 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[IntelliSense]]></category>
		<category><![CDATA[Issue]]></category>
		<category><![CDATA[VisualStudio2008]]></category>

		<guid isPermaLink="false">http://www.cplotts.com/2010/04/23/weird-visual-studio-2008-sp1-intellisense-issue-figured-out/</guid>
		<description><![CDATA[Ok, I just have to blog about this, because I just figured out an issue that’s been driving me nuts, nuts, nuts. In some xaml files, I had no folding editor … and no IntelliSense! What I discovered was that if I delete the local namespace declaration (and then add it back again), the folding [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I just have to blog about this, because I just figured out an issue that’s been driving me nuts, nuts, nuts.</p>
<p>In some xaml files, I had no folding editor … and no IntelliSense!</p>
<p>What I discovered was that if I delete the local namespace declaration (and then add it back again), the folding editor starts working again.</p>
<p>Then, I discovered that if I just leave out the local namespace declaration … instead of adding it back, IntelliSense starts working again. Annoying … since I have to remember to put the namespace declaration back before checking it in.</p>
<p>So, I decided to do a search and see if anyone (besides me) had run into this problem. Well, as you all know, the trick to searching for anything on the internet is getting the right search string. Well, I got lucky. This <a href="http://www.google.com/search?sourceid=chrome&amp;ie=UTF-8&amp;q=intellisense+xaml+not+working+local+namespace">search</a> brought me to this blog <a href="http://blog.lab49.com/archives/3384">post</a>.</p>
<p>It wasn’t exactly my problem, but what I found was that if I added an ‘;assembly=’ to my local namespace declaration … everything started working again … and would continue working even if I closed and reopened the file! Woot! <img src='http://www.cplotts.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>So, the following xaml doesn’t work:</p>
<pre class="brush: xml;">&lt;my:Inspector
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    xmlns:my=&quot;clr-namespace:Snoop&quot;
    x:Class=&quot;Snoop.PropertyGrid2&quot;
    x:Name=&quot;PropertyGrid&quot;
    MinHeight=&quot;0&quot;
    MinWidth=&quot;0&quot;
&gt;</pre>
<p>But, the following xaml DOES work:</p>
<pre class="brush: xml;; highlight: [4]">&lt;my:Inspector
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    xmlns:my=&quot;clr-namespace:Snoop;assembly=&quot;
    x:Class=&quot;Snoop.PropertyGrid2&quot;
    x:Name=&quot;PropertyGrid&quot;
    MinHeight=&quot;0&quot;
    MinWidth=&quot;0&quot;
&gt;</pre>
<p>Hope this helps someone! It has bothered me for some time!</p>
<p>p.s.<br />
Just to clarify: this does not affect Visual Studio 2010. That is, you do not need the &#8216;assembly=&#8217; there &#8230; so this was likely an issue with the xaml editor in Visual Studio 2008.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2010/04/23/weird-visual-studio-2008-sp1-intellisense-issue-figured-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tagxedo</title>
		<link>http://www.cplotts.com/2010/04/09/tagxedo/</link>
		<comments>http://www.cplotts.com/2010/04/09/tagxedo/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 19:48:33 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.cplotts.com/2010/04/09/tagxedo/</guid>
		<description><![CDATA[Ok, I don’t know what it is … but I really like this site, http://www.tagxedo.com/, that people have been tweeting about recently. I think it appeals to my designer tendencies. Basically, the site allows you to create some pretty cool tag clouds. Oh, and by the way, it is done with Silverlight. Nice! Here is [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I don’t know what it is … but I really like this site, <a href="http://www.tagxedo.com/">http://www.tagxedo.com/</a>, that people have been tweeting about recently. <em>I think it appeals to my designer tendencies.</em></p>
<p>Basically, the site allows you to create some pretty cool tag clouds. Oh, and by the way, it is done with Silverlight. Nice!</p>
<p>Here is the tag cloud for my blog to date:</p>
<p><a href="http://www.cplotts.com/wp-content/uploads/2010/04/cplottstagcloud590x590.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="cplottstagcloud590x590" border="0" alt="cplottstagcloud590x590" src="http://www.cplotts.com/wp-content/uploads/2010/04/cplottstagcloud590x590_thumb.png" width="594" height="594" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2010/04/09/tagxedo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDC 2009</title>
		<link>http://www.cplotts.com/2009/11/16/pdc-2009/</link>
		<comments>http://www.cplotts.com/2009/11/16/pdc-2009/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 16:39:54 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PDC09]]></category>

		<guid isPermaLink="false">http://www.cplotts.com/2009/11/16/pdc-2009/</guid>
		<description><![CDATA[&#160; My employer has graciously sent me to PDC this year and I’m stoked! In fact, I’m here right now … about to walk down to the convention center, get registered, and attend one of the pre-cons (I’m going to the Silverlight one with the two Griffs (Ian Griffiths and Richard Griffin)). If you see [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.cplotts.com/wp-content/uploads/2009/11/PDC09Bling_Workshops_HandsDirty_240.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="PDC09Bling_Workshops_HandsDirty_240" border="0" alt="PDC09Bling_Workshops_HandsDirty_240" src="http://www.cplotts.com/wp-content/uploads/2009/11/PDC09Bling_Workshops_HandsDirty_240_thumb.jpg" width="184" height="244" /></a> <a href="http://www.cplotts.com/wp-content/uploads/2009/11/PDC09Bling_General_WhatsNext_240.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="PDC09Bling_General_WhatsNext_240" border="0" alt="PDC09Bling_General_WhatsNext_240" src="http://www.cplotts.com/wp-content/uploads/2009/11/PDC09Bling_General_WhatsNext_240_thumb.jpg" width="184" height="244" /></a> </p>
</p>
<p>&#160;</p>
<p>My employer has graciously sent me to <a href="http://microsoftpdc.com/">PDC</a> this year and I’m stoked!</p>
<p>In fact, I’m here right now … about to walk down to the convention center, get registered, and attend one of the pre-cons (I’m going to the Silverlight <a href="http://microsoftpdc.com/Sessions/Getting-the-most-out-of-Silverlight-3">one</a> with the two Griffs (Ian Griffiths and Richard Griffin)).</p>
<p>If you see me there … don’t hesitate to say hello.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2009/11/16/pdc-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Optimizations when Debugging .NET Framework Source Code</title>
		<link>http://www.cplotts.com/2009/01/07/disabling-optimizations-when-debugging-net-framework-source-code/</link>
		<comments>http://www.cplotts.com/2009/01/07/disabling-optimizations-when-debugging-net-framework-source-code/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 21:16:11 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DebuggingTricks]]></category>

		<guid isPermaLink="false">http://www.cplotts.com/?p=39</guid>
		<description><![CDATA[Ok, you think you&#8217;re cool when you get the capability to debug the .NET Framework source code all set up. You&#8217;re like, &#8220;I am all powerful!&#8221; Then you start noticing the oddities &#8230;. &#8220;Wait, why I can&#8217;t get the value of that variable?!&#8221; &#8220;Why did it step there? It should have stepped here?!&#8221; &#160; The [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, you think you&#8217;re cool when you get the capability to debug the .NET Framework source code all set up. You&#8217;re like, &#8220;I am all powerful!&#8221; Then you start noticing the oddities &#8230;.</p>
<blockquote><p>&#8220;Wait, why I can&#8217;t get the value of that variable?!&#8221;</p>
<p>&#8220;Why did it step there? It should have stepped here?!&#8221;</p></blockquote>
<p>&#160;</p>
<p>The problem is that &#8216;you&#8217;re debugging against retail-optimized code&#8217;. Fortunately, someone at Microsoft handed out the trick to disable these optimizations. Check out this <a href="http://referencesource.microsoft.com/faq.aspx">link</a> for more info, but basically there are only a few steps:</p>
<ul>
<li>Create a .cmd file that sets an environment variable and then launches Visual Studio. Name it whatever you want (e.g. DisableOptimizationsInVisualStudio.cmd). It&#8217;s contents should be:</li>
</ul>
<pre>
set COMPLUS_ZapDisable=1
cd /d "%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\ide\"
start devenv.exe
exit</pre>
<ul>
<li>Launch Visual Studio with this .cmd file.</li>
<li>Once in Visual Studio, disable the Visual Studio hosting process:</li>
</ul>
<blockquote><p><span style="background-color: #ffffff;">Right click on your project and choose “Properties”.</span><br />
<span style="background-color: #ffffff;">Choose the “Debug” tab and <strong>uncheck</strong> “Enable the Visual Studio Hosting Process”.</span></p></blockquote>
<ul>
<li>Launch your application in the debugger.</li>
</ul>
<p>&#160;</p>
<p>Once again, you are <strong><em><span style="font-family: Palatino Linotype; font-size: large;">all-powerful</span></em></strong>.</p>
<p>&#160;</p>
<p>For more information (in reverse chronological order):</p>
<ul>
<li>Apparently, you can now get all the source code, at once, from Microsoft and without having to resort to the .NET Mass Downloader. I have not tried this yet, but check out this <a href="http://referencesource.microsoft.com/netframework.aspx">link</a> for more info.</li>
<li>The CodePlex <a href="http://www.codeplex.com/NetMassDownloader">site</a> for the .NET Mass Downloader</li>
<li>John Robbins&#8217; blog <a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2008/08/31/netmassdownloader-1-5-has-complete-support-for-vs-2008-sp1.aspx">post</a> about the 1.5 version of the .NET Mass Downloader</li>
<li>John Robbins&#8217; blog <a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2008/02/14/net-mass-downloader-1-2-released.aspx">post</a> about the 1.2 version of the .NET Mass Downloader</li>
<li>John Robbins&#8217; blog <a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2008/02/07/net-mass-downloader-1-1-released.aspx">post</a> about the 1.1 version of the .NET Mass Downloader</li>
<li>The initial <a href="http://www.wintellect.com/cs/blogs/jrobbins/archive/2008/02/06/download-all-the-net-reference-source-code-at-once-with-net-mass-downloader.aspx">release</a> of the .NET Mass Downloader by <a href="http://www.wintellect.com/CS/blogs/jrobbins/default.aspx">John Robbins</a> and <a href="http://www.kodyaz.com/blogs/unknown_tales_from_kerem/default.aspx">Kerem Kusmezer</a></li>
<li>Shawn Burke&#8217;s original <a href="http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx">post</a> on how to configure Visual Studio to debug .NET Framework source code</li>
</ul>
<p>I should also mention that I used the .NET Mass Downloader on the following directories in order to pull down .NET 2.0, .NET 3.0, and .NET 3.5. I was not aware (prior) that most of the assemblies for .NET 3.0 and .NET 3.5 were at “C:\Program Files\Reference Assemblies\Microsoft\Framework”. That represents a departure from the original location at “C:\Windows\Microsoft.NET\Framework”.</p>
<ul>
<li>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</li>
<li>C:\WINDOWS\Microsoft.NET\Framework\v3.0</li>
<li>C:\WINDOWS\Microsoft.NET\Framework\v3.5</li>
<li>C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0</li>
<li>C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5</li>
</ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2009/01/07/disabling-optimizations-when-debugging-net-framework-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ctrl-K, Ctrl-D: Reformatting XAML in VS 2008</title>
		<link>http://www.cplotts.com/2008/10/01/ctrl-k-ctrl-d-reformatting-xaml-in-vs-2008/</link>
		<comments>http://www.cplotts.com/2008/10/01/ctrl-k-ctrl-d-reformatting-xaml-in-vs-2008/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 14:10:02 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://cplotts.wordpress.com/?p=28</guid>
		<description><![CDATA[StackOverflow is continuing to prove its usefulness. Today, I ran across a post about reformatting xaml. Being very meticulous (ok, obsessive/compulsive &#60;grin&#62;) about this sort of thing, it caught my eye. One of things, I have loved Kaxaml for is its xaml scrubber (formatter). However, I have always wanted to have this ability in Visual [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://stackoverflow.com">StackOverflow</a> is continuing to prove its usefulness. Today, I ran across a <a href="http://stackoverflow.com/questions/47685/how-can-i-reformat-xaml-nicely-in-vs-2008">post</a> about reformatting xaml. Being very meticulous (ok, obsessive/compulsive &lt;grin&gt;) about this sort of thing, it caught my eye.</p>
<p>One of things, I have loved <a href="http://www.kaxaml.com">Kaxaml</a> for is its xaml scrubber (formatter).</p>
<p>However, I have always wanted to have this ability in Visual Studio. Well, you do (at least in VS 2008, I haven&#8217;t checked VS 2005). Check out Laurent&#8217;s blog <a href="http://geekswithblogs.net/lbugnion/archive/2007/09/29/Cleaning-up-XAML-code-and-improving-parsing-time-with-Blend.aspx">post</a> on it.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2008/10/01/ctrl-k-ctrl-d-reformatting-xaml-in-vs-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StackOverflow</title>
		<link>http://www.cplotts.com/2008/09/30/stackoverflow/</link>
		<comments>http://www.cplotts.com/2008/09/30/stackoverflow/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 18:43:30 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://cplotts.wordpress.com/?p=22</guid>
		<description><![CDATA[I just stumbled into this great question and answer site (http://stackoverflow.com) for software, programming related questions. I wonder if it is going to rival Code Project and the forums in its usefulness. And if you are interested in my involvement, this is me on the site. Update: Rudi Grobler has a good post about what [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://stackoverflow.com"><img class="alignnone size-full wp-image-25" title="stackoverflow1" src="http://www.cplotts.com/wp-content/uploads/2008/09/stackoverflow1.png" alt="" width="250" height="70" /></a></p>
<p>I just stumbled into this great question and answer site (<a href="http://stackoverflow.com">http://stackoverflow.com</a>) for software, programming related questions.</p>
<p>I wonder if it is going to rival <a href="http://www.codeproject.com">Code Project</a> and the <a href="http://social.msdn.microsoft.com/Forums/en-US/categories/">forums</a> in its usefulness.</p>
<p>And if you are interested in my involvement, this is <a href="http://stackoverflow.com/users/22294/cplotts">me</a> on the site.</p>
<p><strong>Update:</strong></p>
<p>Rudi Grobler has a good <a href="http://dotnet.org.za/rudi/archive/2008/10/01/wpf-questions-on-stack-overflow.aspx">post</a> about what StackOverflow is. He is also an active WPF poster there.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2008/09/30/stackoverflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello, World!</title>
		<link>http://www.cplotts.com/2008/04/09/hello-world-2/</link>
		<comments>http://www.cplotts.com/2008/04/09/hello-world-2/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 15:12:00 +0000</pubDate>
		<dc:creator>cplotts</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.cplotts.com/?p=5</guid>
		<description><![CDATA[Shouldn&#8217;t every good effort in technology &#8230; begin with &#8216;Hello, World!&#8217; My blog has started. Let&#8217;s see where this takes me.]]></description>
			<content:encoded><![CDATA[<p>Shouldn&#8217;t every good effort in technology &#8230; begin with &#8216;Hello, World!&#8217;</p>
<p>My blog has started. Let&#8217;s see where this takes me.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cplotts.com/2008/04/09/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
