I am running VS2013 1 update using Nuget v 2.8.50313.46
You can go to , this is an important bit , as well as some recent updates and return to the link.
I have a VS solution, this is a simplified view.
-- Solution - Base (Class Library) Packages: No Packages Installed. References: System System.Configuration System.Core System.Runtime.Caching System.Web - AppBase (Class Library) Packages: No Packages Installed. References: System System.Core System.Web.Http Base - Client (Console Application) Packages: EntityFramework v6.1.0 HtmlAgilityPack v1.4.6 References: EntityFramework EntityFramework.SqlServer HtmlAgilityPack System System.Core AppBase Base - Server (Web Application) Packages: HtmlAgilityPack v1.4.6 Microsoft.AspNet.WebApi v5.1.2 Microsoft.AspNet.WebApi.Client v5.1.2 (dependent on > Newtonsoft.Json v4.5.0) Microsoft.AspNet.WebApi.Web... v5.1.2 Newtonsoft.Json v6.0.3 References: HtmlAgilityPack Newtonsoft.Json System System.Net.Http System.Net.Http.Formatting System.Web System.Web.Http System.Web.HttpHost AppBase Base
The code inside the Server needs the Newtonsoft.Json v6.0.3 function.
When I rebuild everything and start everything works fine, as expected.
Subsequently, I only AppBase without building a Server . AppBase depends only on Base . The binaries for AppBase and Base are "up to date" as expected.
However
this is an important bit
building an AppBase causes AppBase be replaced in the "Server \ bin" folder for an earlier version 4.5.
When I make a request to Server , the "Internal Server Error 500" error is returned due to a binding error caused by the incorrect version of Newtonsoft.Json dll.
Why does building an assembly affect an independent assembly?
Has anyone else experienced this?
What is the best way to solve this problem?
EDIT 06/19/2014
I created a new solution file, first I decided that this solved the problem. However, the problem was ported to System.Net.Http.Formatting.dll : -S
If I edit AppBase , so it does not reference System.Web.Http , the effect will disappear. Maybe this has something to do with the MVC material in the Program Files? ...
EDIT 06/20/2014
I posted a wiki community response detailing how I worked on the issue. I thought someone might find this helpful. However, the workaround does not explain what Server does when I build only AppBase and Base . Does this sound like an error, it seems wrong?