static-web-apps-cli icon indicating copy to clipboard operation
static-web-apps-cli copied to clipboard

Error when deploying azure static web app through github

Open Saeyoung-Ryu opened this issue 1 year ago • 0 comments

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?

Saeyoung-Ryu avatar Aug 16 '24 19:08 Saeyoung-Ryu