Skip to content

[BUG]: Azure Web App Deploy v1.x: .NET 10 runtime stack not working in dropdown #21481

@piotrsrodka

Description

@piotrsrodka

New issue checklist

Task name

Azure Web App Deploy v1.x: .NET 10 runtime stack not working in dropdown

Task version

1.x

Issue Description

Environment

  • Azure DevOps: Cloud/Server
  • Agent: Microsoft-hosted
  • Target: Azure App Service (Windows/Linux)

Steps to reproduce

  1. Edit Azure Pipeline with Azure Web App Deploy task v1.x
  2. Select Runtime Stack: There is no dotnet 10 so paste DOTNET 10 -> it changes to ".NET 10.0"
  3. Save and run pipeline
  4. Deployment may success but in Azure there will be no Stack selected so App won't work

Expected behavior

The task should automatically set the correct runtime stack value DOTNETCORE|10.0 when .NET 10 is selected from the dropdown.

Actual behavior

The dropdown selection doesn't work. Manual override with DOTNETCORE|10.0 is required.

Workaround

Manually set the runtime stack value to DOTNETCORE|10.0 in YAML.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

linux

Relevant log output

2025-11-24T09:24:25.2968966Z ##[section]Starting: Azure Web App Deploy: LegalApi
2025-11-24T09:24:25.2979610Z ==============================================================================
2025-11-24T09:24:25.2979828Z Task         : Azure Web App
2025-11-24T09:24:25.2979962Z Description  : Deploy an Azure Web App for Linux or Windows
2025-11-24T09:24:25.2980128Z Version      : 1.264.0
2025-11-24T09:24:25.2980228Z Author       : Microsoft Corporation
2025-11-24T09:24:25.2980346Z Help         : https://aka.ms/azurewebapptroubleshooting
2025-11-24T09:24:25.2980482Z ==============================================================================
2025-11-24T09:24:26.0097800Z Got service connection details for Azure App Service:''
2025-11-24T09:24:36.2821533Z Package deployment using ZIP Deploy initiated.
2025-11-24T09:25:59.2913287Z Deploy logs can be viewed at https://d584/log
2025-11-24T09:25:59.2914126Z Successfully deployed web package to App Service.
2025-11-24T09:25:59.7633096Z Trying to update App Service Configuration settings. Data: {"linuxFxVersion":".NET 10.0","appCommandLine":""}
2025-11-24T09:26:34.4736895Z Updated App Service Configuration settings.
2025-11-24T09:26:37.0378430Z Successfully added release annotation to the Application Insight : 
2025-11-24T09:26:50.9713082Z Successfully updated deployment History at https://3976397037
2025-11-24T09:26:51.3010519Z App Service Application URL: https://.azurewebsites.net
2025-11-24T09:27:09.2277362Z ##[section]Finishing: Azure Web App Deploy:

Full task logs with system.debug enabled

2025-11-24T09:24:25.2968966Z ##[section]Starting: Azure Web App Deploy: LegalApi
2025-11-24T09:24:25.2979610Z ==============================================================================
2025-11-24T09:24:25.2979828Z Task : Azure Web App
2025-11-24T09:24:25.2979962Z Description : Deploy an Azure Web App for Linux or Windows
2025-11-24T09:24:25.2980128Z Version : 1.264.0
2025-11-24T09:24:25.2980228Z Author : Microsoft Corporation
2025-11-24T09:24:25.2980346Z Help : https://aka.ms/azurewebapptroubleshooting
2025-11-24T09:24:25.2980482Z ==============================================================================
2025-11-24T09:24:26.0097800Z Got service connection details for Azure App Service:''
2025-11-24T09:24:36.2821533Z Package deployment using ZIP Deploy initiated.
2025-11-24T09:25:59.2913287Z Deploy logs can be viewed at https://d584/log
2025-11-24T09:25:59.2914126Z Successfully deployed web package to App Service.
2025-11-24T09:25:59.7633096Z Trying to update App Service Configuration settings. Data: {"linuxFxVersion":".NET 10.0","appCommandLine":""}
2025-11-24T09:26:34.4736895Z Updated App Service Configuration settings.
2025-11-24T09:26:37.0378430Z Successfully added release annotation to the Application Insight :
2025-11-24T09:26:50.9713082Z Successfully updated deployment History at https://3976397037
2025-11-24T09:26:51.3010519Z App Service Application URL: https://.azurewebsites.net
2025-11-24T09:27:09.2277362Z ##[section]Finishing: Azure Web App Deploy:

Repro steps

1. Edit Azure Pipeline with Azure Web App Deploy task v1.x
2. Select Runtime Stack: There is no dotnet 10 so paste DOTNET 10 -> it changes to ".NET 10.0"
3. Save and run pipeline
4. Deployment may success but in Azure there will be no Stack selected so App won't work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions