forked from microsoft/azure-tools-for-java
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
The Rider plugin fails to deploy to a Function App configured to use WEBSITE_RUN_FROM_PACKAGE. This setting is the default for e.g. the Azure Functions extension within VS Code.
STEPS TO REPRODUCE
- Provision a Function App in Azure (Consumption, .NET 6, Linux)
- Generate a (Azure Functions) project within VS Code with an HttpTrigger
- Deploy the project from VS Code
- Open the same project in Rider
- Attempt to deploy the project from Rider
EXPECTED RESULTS
The project is successfully deployed.
ACTUAL RESULTS
Rider fails to deploy with a non-helpful error message.
...
Publishing ZIP file. Attempt 1 of 3...
Publishing ZIP file. Attempt 2 of 3...
Publishing ZIP file. Attempt 3 of 3...
Fail publishing ZIP file. Response code: 409. Response message: Conflict.
Fail publishing ZIP file: java.lang.RuntimeException: Fail publishing ZIP file. Response code: 409. Response message: Conflict.
Fail publishing ZIP file
Metadata
Metadata
Assignees
Labels
No labels