title: Sketchables in WPF with .NET 4, can't load System.Core version=2.0.5.0
body: <p>Sketchflow newbie (couple days), WPF newbie (few weeks).</p>
  
  <p>Workspace details:</p>
  
  <p>WinXP, Visual Studio 2010 Ultimate, Expression Studio Ultimate (using Expression Blend 4 with SketchFlow). Downloaded the <a href="http://www.hardcodet.net/2010/07/public-sketchables-preview-release" rel="nofollow">Sketchables 0.9 release</a> and built a release version (Debug version is already built).</p>
  
  <p>Issue details:</p>
  
  <p>Start up Expression Blend 4, create a WPF Sketchflow project. Build it (successful). Add references to <em>either</em> the release <em>or</em> debug versions of the Sketchables library (in the Desktop, rather than the SL folder) and try to build again. The build fails with error:</p>
  
  <pre><code>Unknown build error, 'Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXX' or ore of its dependencies. The local assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
  </code></pre>
  
  <p>Now, I've seen some issues with a similar error, specifically a couple of issues where the problem was caused by trying to load a Silverlight control in a WPF project. However, I'm not knowledgeable enough to know if it's related. On a hunch, I tried a Silverlight project. Sure enough, building a Silverlight Sketchflow project and adding the Sketchables library builds cleanly.</p>
  
  <p>So, the question is this: <strong>Does anyone have any ideas about what's actually causing this error within the Sketchables source, on pointers on how to track it down so I can work on it and get a clean library build for WPF?</strong> </p>