Проект Visual Studio 2012 Web API не будет запущен - не могу найти Newtonsoft.Json
После запуска чистого решения и перестройки мой проект MVC 4 Web API перестает работать. Он не может найти Newtonsoft.Json.
Я знаю, что MS сейчас использует это как сериализатор JSON по умолчанию, но его нет в списке ссылок для проекта, и я не могу добавить его из NuGet, поскольку он говорит, что он уже установлен.
Кто-нибудь имеет здесь представление о том, что может пойти не так?
Трассировка полного стека:
[FileNotFoundException: Could not load file or assembly
'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The
system cannot find the file specified.]
MvcWebRole1.WebApiApplication.Application_Error() in d:\Data\Source
Controlled
Projects\georace\georace\Server\GeoRaceServer\MvcWebRole1\Global.asax.cs:70
[HttpException (0x80004005): Could not load file or assembly
'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The
system cannot find the file specified.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext
context, HttpApplication app) +12838633
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr
appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state,
MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr
appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr
appContext) +475
[HttpException (0x80004005): Could not load file or assembly
'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The
system cannot find the file specified.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12851296
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
+159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) +12679949