title: Why does Visual Studio 2010 crash when I add a binding to a TextBlock?
body: <p>When I change my code from:</p>
  
  <pre><code>&lt;TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
             Text="My Page Header"/&gt;
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>&lt;TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
             Text="{Binding Path=ModuleStrings.Package_Name, Source={StaticResource ResourceWrapper}}"/&gt;
  </code></pre>
  
  <p>Every single time!  If I change it outside of the IDE, it crashes when I load up the file. </p>
  
  <p><strong>Context:</strong></p>
  
  <p>I'm using Visual Studio 2010 and .Net 4.0. I'm writing a Silverlight application using the Silverlight Business Application template.  I have several modules that I'm discovering using MEF and downloading dynamically.  This code exists in a Silverlight RIA Services Class Library that I'm using as a module.</p>
  
  <p><img src="https://i.stack.imgur.com/3QjxF.png" alt="enter image description here"></p>
  
  <p><strong>Edit:</strong></p>
  
  <pre><code>Problem signature:
    Problem Event Name:   APPCRASH
    Application Name: devenv.exe
    Application Version:  10.0.30319.1
    Application Timestamp:    4ba1fab3
    Fault Module Name:    unknown
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp:   00000000
    Exception Code:   c00000fd
    Exception Offset: 0fd84cf0
    OS Version:   6.1.7600.2.0.0.256.1
    Locale ID:    1033
  
  Additional information about the problem:
    LCID: 1033
  </code></pre>