We have an azure function app, and it had only one function CheckPerformance before.
Now we created several new functions and in the hosts.json, I put
{
"version": "2.0",
"functions": [
"V2PipelineTrigger",
"CheckLatestPerformanceV2"
]
}
To my surprise, every time I deploy the code through the VSTS pipeline, the old function (CheckLatestPerformance) is enabled.
My understanding is that azure function will be discovered from this host.json. So how come the old function is constantly re-enabled?