I had the same problem (in VS2012). No answer helped me. Finally, I solved it as follows:
1) Go to TOOLS → EXTENSIONS AND UPDATES here to update (or install) the “NuGet Package Manager” then go to the “Internet” and install “Quick Add NuGet” and “Links to NuGet”
2) after everything in 1) in your project, right-click "Links" and select "Manage Nuget Packages", in "Installed Packages" find Json.NET. Click “Uninstall” - you cannot do it now, but it will show you what you should uninstall first (some ASP Web Api client). Therefore, delete all these files and try deleting "Json.NET" again. Now go to the Internet and install Json.NET, ASP.NET WEB API Client Libraries, and ASP.NET Web Interface Client OData.
3) in the Global.asax removal line "WebApiConfig.Register (GlobalConfiguration.Configuration);"
build a solution and everything will be ok .. I hope this can help someone :) gl
TomT Mar 04 '14 at 13:44 2014-03-04 13:44
source share