.net-core-2.0 azure app service 502.5 error

前端 未结 3 1361
忘了有多久
忘了有多久 2020-12-09 09:05

Getting a 502.5 error after CI deployment to azure app service.

When running dotnet {myproject}.dll on the debug console this is the error I get:

<
3条回答
  •  一个人的身影
    2020-12-09 09:37

    Found the issue. Let me start by adding a little more information. This was originally a .net-core-1.1 project that I updated to 2.0 following instructions provided by Microsoft. After upgrading, I had no issues at all running locally, but once I tried to publish my azure app service, i kept getting the IIS error. Last ditch effort was to create a new .net-core-2.0 project from scratch this morning and noticed that the new project file contained this:

      
        
      
    

    I added that to my existing project file (the one upgraded from 1.1) and now the error is gone and issue resolved.

提交回复
热议问题