title: Json.Net and Metro/Store Apps
body: <p>Been racking my brain, but have managed to work out that the current build of Json.Net won't work with Metro/Store apps.</p>
  
  <p>I included a reference to the Net40 version of the library, but I kept getting compilation errors stating that the reference could not be added as</p>
  
  <blockquote>
    <p>"The project targets '.NetCore' while the file references targets
    '.NetFramework'. This is not a supported scenario."</p>
  </blockquote>
  
  <p>So I tried creating a standard forms based VB.net app in VS2012 and low and behold Json.Net imported perfectly.</p>
  
  <p>The issue appears to centre around <strong>System.ComponentModel.PropertyDescriptor</strong> which does not appear to be available in .Netcore.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I tried adding the Portable version of Json.net and got the following error when tring to build the app:</p>
  
  <blockquote>
    <p>CA0001    Error Running Code Analysis CA0001 :
    Rule=Microsoft.Reliability#CA2002,
    Target=Jobs.Store.MainPage.#JobView_Respond(Jobs.Store.WebViewResponse)
    : The following error was encountered while reading module
    'Jobs.Store': Could not resolve member reference: [Newtonsoft.Json,
    Version=4.5.0.0, Culture=neutral,
    PublicKeyToken=30ad4fe6b2a6aeed]Newtonsoft.Json.JsonConvert::SerializeObject. [Errors
    and Warnings] (Global)</p>
  </blockquote>
  
  <p>I'm hoping James Newton-King picks this up as he appears to be quite active here ;-)</p>
  
  <p>Other than that I'm finding it very difficult to serailize JSON in Metro apps!</p>
  
  <p>Cheers,</p>
  
  <p>Roy</p>