Visual Studio 2012 Web API project won’t run – can’t find Newtonsoft.Json

Ok – found a work around myself, posting in case someone else gets caned by this MS bug.
The problem is that you can’t add a NuGet reference as it’s already included in the packages by default. So…

  1. Open up packages.config
  2. Delete the Newtonsoft.Json entry.
  3. Save and Build
  4. Re-add Newtonsoft.Json from NuGet.
  5. Build and run

Leave a Comment