Could not load file or assembly System.Web.Http, Version=5.2.2.0

后端 未结 8 927
孤街浪徒
孤街浪徒 2020-12-29 22:31

I\'ve just uploaded a Asp.Net Web Api 2.2 project to production server and I got the error stated in the title.

In my Web.config I already have this:



        
8条回答
  •  Happy的楠姐
    2020-12-29 22:51

    • Make sure you are referring the correct version of System.web.http in your project (check web.config).
    • If System.web.http is not present in reference, try to install it using nugets.
    • If both the above points are correct at your local then try to restore your nugets from package manager console

提交回复
热议问题