Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
594 stars 117 forks source link

Successfully logged into Azure! – Failed to setup project: EPERM: operation not permitted (Visual Studio Publishing) #845

Closed SlimAhmad closed 3 months ago

SlimAhmad commented 4 months ago

Please can anyone help me out this stated after upgrading visual studio Authenticating with Static Web Apps... swa.cmd login --subscription-id 05684fd7-3bfe-4cc1-b4ad-ca41bcc98de1 --tenant-id a32d1fb1-51f6-435a-88f3-e44052f3e884 --app-name Pinkinetics --resource-group Pinkinetics --no-use-keychain Welcome to Azure Static Web Apps CLI (1.1.8) Checking Azure session... ✔ Successfully logged into Azure! ✖ Failed to setup project: EPERM: operation not permitted, open 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE.env' ✖ If you believe this behavior is unexpected, please raise a GitHub issue at: https://github.com/Azure/static-web-apps-cli/issues/new/choose

Additional context Add any other context about the problem here.

SlimAhmad commented 4 months ago

The workaround was to use the cli (swa) hope it helps

adrianhall commented 3 months ago

Dupe of #836