Could not load file or assembly 'System.Net.Http' or one of its dependencies

前端 未结 6 1603
你的背包
你的背包 2021-01-12 14:11

Maybe Relevant information: I have a web application I built with .net 4.5. I wanted to deploy to Azure\'s Web Sites but it only supports .net 4.0 so I downgraded the projec

6条回答
  •  感动是毒
    2021-01-12 14:12

    I solved a similar problem (System.Web.Http and System.Net.Http.Formatting) error by removing the reference to problem reference (which was pointed to my .Net installation folder) and replacing it with the reference file in my packages folder that was installed by the Microsoft.AspNet.WebApi NuGet package.

提交回复
热议问题