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

后端 未结 15 1734
半阙折子戏
半阙折子戏 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:11

    Make sure the package version is equal across the solution. I just downgraded & upgraded Microsoft.AspNet.Mvc package across the solution and the problem solved.

提交回复
热议问题