-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Visual Studio] Deleting a function in VS project doesn't delete it Azure Functions App #564
Comments
To add insult to injury, the portal is in read only mode when I publish functions from visual studio. It won't let me remove the function in the portal. |
When you publish from Visual Studio, there is an option in the settings of the publish configuration profile that let's you "Remove additional files at destination". See Issue #555 |
When using Build & Release in VSTS, is there an analogous setting for deleting the target app service's files? I have this same issue in my CI/CD pipeline, but it happens w/o the publish profile, so I cannot use the stated workaround. |
What about local? If I delete a function and run Iocally get "The function type name [delete func} is invalid". Same with rename |
Has there been any resolution for this? I don't see these settings in VSTS. |
It seems this is only for version 1 of the "Azure App Service Deploy" task so if you use a newer version you don't get this option. edit: |
Not there is a bug in the build task but found a work around. Switch to the version 4 of the task and in the deployment option select zip deploy. Then switch to version 3 of the task which then exposed those addition deployment options to clean the existing files before deployment. Hope it helps others. |
Visual Studio 2017 Version 15.4
Repro steps -
The deleted function is not deleted in the Azure Functions App
The text was updated successfully, but these errors were encountered: