I have an Azure Functions project in Visual Studio holding two functions - HttpTriggerFunction1 and TimerTriggerFunction1.
I want to publish Azure Function project from Visual Studio to different Azure Functions Apps - HttpFunctionApp and TimerFunctionApp which I created at Azure.
- HttpTriggerFunction1 should be deployed to HttpFunctionApp.
- TimerTriggerFunction1 should be deployed to TimerFunctionApp.
Is there an option from Visual Studio to achieve above deployment strategy (probably customize publish profile?)? Or do I need to use Release definition of VSTS to have the appropriate functions to be published to appropriate function app, in such a case, how to achieve this because my DLL might have code related to other functions (Run methods) which should not be making to all function apps?
I am using VS 2017 15.8.2 with latest Azure Webjobs and Tools.