Reputation: 179
I have multiple projects with different functions for example
Solution A
Solution B
I have 1 Resource Group (R1) which has Project A functions. If I deploy Project B functions to Resource Group "R1" its removing Project A functions and replacing it with Project B functions.
Is there way to deploy functions from both Project A and Project B together to same Resource Group (R1)?
Upvotes: 5
Views: 5097
Reputation: 11
George Chen only works if your not zip deploying.
If you used zip method.
Note. You will need to manually stop the host to delete old functions from your storage and restart the service. Should you need to remove one.
Upvotes: 0
Reputation: 14334
I test with Visual Studio and it works well.
Your function are overwritten by default is because the value Delete existing files
is set to true when you deploy you choose Select Existing
.
So yo could Edit your Publish Profile Settings. Uncheck the Remove additional files at destination
.
Then you will be able to deploy them together. However the recommend way is to deploy everything as one package.
Upvotes: 5