I have a release pipeline for a web app. Now I want to release also webjobs from the same solution. But if I publish a webjob after I have published a web app, it will publish it to wwwroot
and overwrites my web app. How should I configure release pipeline to deploy webjob to wwwroot\App_Data\jobs\triggered\MyWebJob
, not to wwwroot
?
Somewhere was an answer to build and publish whole solution and webjobs will be also deployed successfully. But I am not able to build and publish the whole solution. I have to pick just some of the projects (csproj).