Azure Deployment Slot not showing correct app version

SLuo 1 Reputation point
2021-12-25T01:13:57.75+00:00

When I create a deployment slot, I tell it to clone the settings from the production slot. My production app is a .Net Core 5.0 App. However, when I go into set up the deployment slot, it show the following:
160423-image.png

This is a problem, because when I push to Github, the build is failing with the following message:

160387-image.png

My app runs fine in production, and querying the Cloud Shell returns a version of .net5.0. The only reason I can think of for this error is that the deployment slot is set up for .net3.1. But I can't figure out why it is doing this. Does anyone have any suggestions?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,937 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos dos Santos 85 Reputation points Microsoft Regional Director
    2024-01-24T00:15:22.15+00:00

    @SLuo .NET 5.0 is no longer supported by Azure, only LTS are supported. https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

    0 comments No comments