Azure / Azure/static-web-apps

.NET 9 is missing in docker image

Open
#1,583 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Azure devops build issue:

```
Digest: sha256:41473a2ebc45daa6e63c82a7f32a5680b0fe34dac49ab85dd6369c764b191308
Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
benv: dotnet version '9.x' not found.
benv: Could not find any versions on disk.
```

**To Reproduce**
I use Azure Static web Site for Blazor WebAssembly app.
I update my app to .NET 9
My azure devops pipeline looks like this.
```
- task: AzureStaticWebApp@0
displayName: 'Deploy to Azure Static Web App'
inputs:
app_location: 'App.WebClient/'
output_location: 'wwwroot'
azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN)
```

How can I fix this issee? seems we have old container with .NET8

Status: Downloaded newer image for **mcr.microsoft.com/appsvc/staticappsclient:stable**
benv: dotnet version '**9.x**' not found.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the AzureStaticWebApp@0 pipeline with the App.WebClient/ app location and a .NET 9 Blazor WebAssembly app. Inspect the mcr.microsoft.com/appsvc/staticappsclient:stable image and its benv-supported SDK versions; done means the pipeline recognizes dotnet 9.x and deploys successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, docker
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.