microsoft / vscode-azureappservice

Azure App Service extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice
MIT License
111 stars 94 forks source link

dotnet publish-release #2630

Open gmcfrear opened 5 months ago

gmcfrear commented 5 months ago

Ref: https://github.com/microsoft/vscode-azureappservice/issues/1360#issue-551168114

I had the same experience.

appService.preDeployTask": "publish-release", was incorrect. I changed it to appService.preDeployTask": "publish", and it worked as expected.

This is in .vscode > settings.json

nturinski commented 5 months ago

Seems like we may want to update the preDeployTask to just be publish instead of publish-release. I'm not sure if publish-release is still being used.