且构网

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

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

更新时间:2023-02-16 11:55:56

稍作搜索基本上从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

应该做到这一点.然后,只需重新发布您的网站即可.似乎发布过程不会删除deploy文件夹中已经存在的任何内容.因此,您有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.

希望可以帮到您.