Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

后端 未结 15 1751
半阙折子戏
半阙折子戏 2020-12-07 10:39

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue?

15条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 11:22

    I'm using vs2012 and i think the update KB2781514 changed some setting. All my System.Web.Http in my MVC4 project changed to false and i keeping received this message. I had changed the All file in this project in publish property but its not working. Finally I have to change Copy Local = true one by one and solved this problem.

提交回复
热议问题