You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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".
If you check that, it should remove the old function when it does the next publish.
There is an analogous setting to this under "Additional Deployment Options" in the VSTS Azure App Service Deploy action, meaning you can also have self-resetting apps with CI/CD in VSTS.
I am using Visual Studio 2017 et Azure Function Sdk.
I have created a simple function "test-function" and deployed it. On the portal, I could see this new function.
Then I renamed this function to "real-function" and redeployed. On the portal, another function has been created.
I now have two functions but I can't delete the first one because functions were generated and the function app is in readonly mode.
The text was updated successfully, but these errors were encountered: