This project is read-only.

Orchard Build Breaking on VS 2013 Update 2 RS due to NewtonSoft.json.dll

Topics: General
Apr 22, 2014 at 8:01 PM
The primary reference "System.Web.Http.WebHost" could not be resolved because it has an indirect dependency on the assembly "Newtonsoft.Json, Version=", ... which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". Orchard.Framework

This is a pattern beyond Orchard as shown at:

This is with an Orchard 1.6 project. FYI
  • Mike Cullina
May 7, 2014 at 12:37 AM
Marked as answer by mcullina on 5/6/2014 at 6:56 PM
May 7, 2014 at 2:55 AM
Thanks Sebastien,

This did the trick. I just removed Newtonsoft.Json.dll file from Program Files\Microsoft SDKs\Windows Azure.NET SDK\v2.3\ref\ folder.

I also could have uninstalled. Windows Azure VS Tools v 2.3. It had a bug that caused this side effect. It has been fixed going forward for Azure VS Tools v 2.3.
  • Mike Cullina