ASP.NET Core website on Azure fails to start with a 502.5 error after upgrade from .NET Core 1.1.1 to .NET Core 1.1.2

后端 未结 3 1633
抹茶落季
抹茶落季 2021-02-14 05:32

I have a .NET Core web application which I deploy as an Azure Web App.

This has been working perfectly until last night when I applied the Visual Studio 2017 upgrade (v1

3条回答
  •  爱一瞬间的悲伤
    2021-02-14 05:53

    We are having the same issue after the Visual Studio 2017 Update.

    A workaround is to edit the web.config for your site in Kudu after it has been deployed.

    Add --fx-version 1.1.1 at the start of the arguments value for the aspNetCore entry under system.webServer

    e.g

提交回复
热议问题