且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

HTTP 错误 502.5 - 进程失败 asp.net core 2.0

更新时间:2023-02-16 10:45:44

稍微搜索一下 对我有用.

With a bit of searching this worked for me.

基本上从 Azure 门户上的控制台清除 wwwroot 文件夹.确保您获得最顶层的 wwwroot 文件夹(由于某种原因,我有一个子 wwwroot 文件夹.)

Essentially clean out the wwwroot folder from a console on your Azure Portal. Make sure you get the top most wwwroot folder (I had a sub wwwroot folder for some reason.)

RD wwwroot/S/D

应该做的伎俩.然后只需重新发布您的网站.似乎发布过程不会删除部署文件夹中已存在的任何内容.所以你有 1.1 .dll 和 2.0 .dll.

Should do the trick. Then just republish your site. It would appear that the publish process does NOT delete anything that already exists within the deploy folder. So you have 1.1 .dlls and 2.0 .dlls.

希望对你有用.