在我的Visual Studio 2013 RC项目中,我收到了这个错误消息: “ types'System.Net.Http.Formatting.MediaTypeFormatter'是在未引用的程序集中定义的,必须添加对程序集”System.Net.Http.Formatting,Version = 4.0.0.0,Culture = neutral, PublicKeyToken = 31bf3856ad364e35' “ …在控制器中的"var response = "代码行上: public HttpResponseMessage PostDelivery(Delivery delivery) { delivery = repository.Add(delivery); var response = Request.CreateResponse<Delivery>(HttpStatusCode.Created, delivery); string uri = Url.Link("DefaultApi", new { id = delivery.Id }); response.Headers.Location = new Uri(uri); return response; } search我的硬盘上所需的程序集(“System.Net.Http.Formatting”),它显示了它存在的几个位置,但它们都在现有的项目中,如下所示: 当然有另一个位置System.Net.Http.Formatting.dll可以被引用! 但是哪里? UPDATE 试图按照这里的线索: http : […]