DotNetOpenAuth causing a can not load Assembly System.Web.WebPages.Razor

后端 未结 3 530
没有蜡笔的小新
没有蜡笔的小新 2021-01-22 04:25

My local version of my code runs just fine. But when I do a web deploy I am getting the following exception:

Could not load file or assembly \'System.Web.

3条回答
  •  醉话见心
    2021-01-22 05:10

    I use Git deployment and was having the same issue. I didn't see an option where I could remove additional files at destination.

    I used FTP to connect to the Azure Host and then deleted everything in the /site/wwwroot directory. Then I used the Management Portal, Deployments tab, and finally the Sync command (i.e. redeploy) and that fixed the issue.

提交回复
热议问题