<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx</link><description>It’s not entirely uncommon for projects that run fine to not work when loaded into Blend for editing: There are a variety of issues that can cause this- some are bugs that we’re working to address, others are things that need to be fixed by the application</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#8623396</link><pubDate>Fri, 20 Jun 2008 02:37:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8623396</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;It’s not entirely uncommon for projects that run fine to not work when loaded into Blend for editing&lt;/p&gt;
</description></item><item><title>Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#8623404</link><pubDate>Fri, 20 Jun 2008 02:44:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8623404</guid><dc:creator>Sparkle bloggers</dc:creator><description>&lt;p&gt;It’s not entirely uncommon for projects that run fine to not work when loaded into Blend for editing:&lt;/p&gt;
</description></item><item><title>re: Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#8623498</link><pubDate>Fri, 20 Jun 2008 03:38:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8623498</guid><dc:creator>Jonas Follesø</dc:creator><description>&lt;p&gt;Great post!&lt;/p&gt;
&lt;p&gt;Writing &amp;nbsp;code designers can work with is something I'm really interested in...&lt;/p&gt;
&lt;p&gt;What's the best way to detect if an object is being consumed inside Blend? Currently I do a if(HtmlPage.IsEnabled) { Populate Some Dummy Design Time Data } - That way the designer who is consuming a bindable object gets a better experience.&lt;/p&gt;
&lt;p&gt;Do you have any other tips/tricks onw how to make the Blend 2.5 experience more pleasent when working with &amp;quot;real code&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#8717107</link><pubDate>Thu, 10 Jul 2008 17:26:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8717107</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;I don't see the difference between your good and bad example. All you did is move the code into another method. What am I missing?&lt;/p&gt;
</description></item><item><title>re: Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#8835615</link><pubDate>Wed, 06 Aug 2008 04:52:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8835615</guid><dc:creator>Pete Blois</dc:creator><description>&lt;p&gt;The difference between the good code and the bad code in this case is that the method containing the code cannot be called, if it does then the CLR will attempt to Just-In-Time compile (JIT) the code and run into the missing method exception.&lt;/p&gt;
&lt;p&gt;The resolution is to move the code out of the constructor and into another method with a guard around it to prevent it from getting compiled.&lt;/p&gt;
</description></item><item><title>Debugging Expression Blend Design Time Errors</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#9214869</link><pubDate>Sun, 14 Dec 2008 23:02:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9214869</guid><dc:creator>ASPInsiders</dc:creator><description>&lt;p&gt;It may not be the most obvious thing to do but if your getting design time errors in Blend – attach Visual&lt;/p&gt;
</description></item><item><title>re: Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#9798533</link><pubDate>Tue, 23 Jun 2009 03:04:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798533</guid><dc:creator>Steve Kwan</dc:creator><description>&lt;p&gt;This article was really helpful. &amp;nbsp;I was getting a &amp;quot;Cannot create an instance of X&amp;quot; error in Microsoft Expressions Blend, despite the Solution loading properly in Visual Studio. &amp;nbsp;I'm still debugging, but it looks like the problem was caused by the HtmlPage issue you mentioned above.&lt;/p&gt;
</description></item><item><title>re: Debugging Design-Time Exceptions</title><link>http://blogs.msdn.com/expression/archive/2008/06/19/debugging-design-time-exceptions.aspx#9834618</link><pubDate>Wed, 15 Jul 2009 23:00:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9834618</guid><dc:creator>Eric Ambrosi</dc:creator><description>&lt;p&gt;Great article Pete :) it has been helpfull&lt;/p&gt;
</description></item></channel></rss>