Azure / Azure/static-web-apps-cli
Error when deploying azure static web app through github
- Vorherrschende Sprache
- TypeScript
- Sterne
- 668
- Forks
- 156
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hello, my blazor webassembly is using .net8.0.400. I have created static web app and added my github repo.
And I have an error when I do the "Build and Deploy job through github ci/cd"
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application '--version' does not exist.
* You intended to execute a .NET SDK command:
A compatible .NET SDK was not found.
Requested SDK version: 8.0.400
global.json file: /github/workspace/global.json
Installed SDKs:
Install the [8.0.400] .NET SDK or update [/github/workspace/global.json] to match an installed SDK.
Learn about SDK resolution:
Am I not able to use .net 8.0?
Beitragsleitfaden
Rechercherichtung
Beginne mit dem GitHub build-and-deploy workflow und dem in der Fehlermeldung angegebenen global.json-Pfad; vergleiche das angeforderte .NET SDK 8.0.400 mit dem, was der Job bereitstellt. Erledigt ist die Aufgabe, wenn der Workflow die Blazor WebAssembly-App ohne den SDK-resolution error erstellen und bereitstellen kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, github-actions
- Bereich
- ci-cd, cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100