Azure App Service deploy to Linux missing .NET Core 3.1 Runtime Stack when available
See original GitHub issueFeature Type: Dropdown values for Runtime Stack Enter Task Name: AzureRmWebAppDeploymentV4
Environment
- Server - Azure Pipelines (public)
- Agent - Hosted: Windows-2019
- See “Deploy API” task in example release log
Issue Description
Linux Azure App Services now supports .NET Core 3.1; however, this task does not have that target framework available in the Runtime Stack dropdown; also when selecting LTS, it uses an older version. I also tried manually typing in 3.1 (DOTNETCORE|3.1)
and that also did not work.
Workaround
My current workaround is to deploy with 3.0 (DOTNETCORE|3.0)
, then manually change the target framework in the Azure App Service settings post-deploy, to v3.1.
Log
2020-01-19T17:13:16.2251585Z ==============================================================================
2020-01-19T17:13:16.2251736Z Task : Azure App Service deploy
2020-01-19T17:13:16.2251866Z Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
2020-01-19T17:13:16.2251970Z Version : 4.160.3
2020-01-19T17:13:16.2252063Z Author : Microsoft Corporation
2020-01-19T17:13:16.2252184Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment
2020-01-19T17:13:16.2252321Z ==============================================================================
2020-01-19T17:13:17.4900633Z Got service connection details for Azure App Service:'stock-charts-api'
2020-01-19T17:13:34.5483610Z Package deployment using ZIP Deploy initiated.
2020-01-19T17:13:42.0543612Z Deploy logs can be viewed at https://stock-charts-api.scm.azurewebsites.net/api/deployments/7f38acf9336941b98b9cc7915af453e4/log
2020-01-19T17:13:42.0544075Z Successfully deployed web package to App Service.
2020-01-19T17:13:42.1770493Z Updating App Service Configuration settings. Data: {"linuxFxVersion":"DOTNETCORE|3.0","appCommandLine":"dotnet WebApi.dll"}
2020-01-19T17:13:42.9146980Z Updated App Service Configuration settings.
2020-01-19T17:13:43.5696419Z Successfully updated deployment History at https://stock-charts-api.scm.azurewebsites.net/api/deployments/351579454023298
2020-01-19T17:13:43.7592422Z App Service Application URL: http://stock-charts-api.azurewebsites.net
2020-01-19T17:13:43.9736968Z ##[section]Finishing: Deploy API - needs manual fix on Azure Portal to set .NET Core 3.1 target
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Azure App Service missing .Net core 3.1 - Microsoft Q&A
Net core 3.1 runtime stack is no longer available on azure app service, what other options can you please recommend for me to...
Read more >Deploy an ASP.NET Core app targeting a new version of .NET ...
Configuring an existing App Service for .NET 5 · Go to the App Service you want to upgrade · Click on Configuration on...
Read more >Setting up Azure DevOps CI/CD for a .NET Core 3.1 Web App ...
x SDK for building my app, and I build it, then run the tests based on a globbing *tests pattern. I do a...
Read more >Net Core 3.1 on Azure App Service - ServiceStack
I have a .Net Core 3.1 app that runs perfectly fine on a Mac using Rider. I frequently use Razor Smart Pages. However...
Read more >How to publish ASP.NET Core 3.0 / 3.1 LTS Web App / API in ...
You can search and select app service. App service is nothing but your web app / API. Create a new app under your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can try using the value
DOTNETCORE|3.1
, not3.1 (DOTNETCORE|3.1)
.Is there any update on when the missing drop down value will be added? 3.1 has been available for a quite a while and it is terribly confusing trying to debug deployments.