Azure / Azure/static-web-apps-cli

Deploying Blazor WASM to Azure Static Web App from Visual Studio

Open
#797 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
668
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Iam trying to deploy the Blazor WASM to Azure Static Web App using the publish => Azure => Static Web Apps option.

image

Static Web App is created .Successfully logged into Azure! But getting the below error while publishing.

```csharp
Failed to setup project: EPERM: operation not permitted, open 'C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\.env'

Unable to authenticate with Static Web App 'BlazorWASM'.

```

Contributor guide

Open the contributing guide

Research direction

Reproduce the Visual Studio Publish → Azure → Static Web Apps flow for a Blazor WASM app and capture the .env permission and authentication failure. Inspect the project setup and authentication path involved in that flow; done means publishing succeeds without the EPERM error and the Static Web App authenticates.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, wasm
Domain
authentication, cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.