While trying to publish one of our console application to Azure as Web Job we couldn’t find the “Publish as Azure WebJob..” option
It was because Azure development tools were recently uninstalled from the system.
To install it, go to Windows à Program and Features à Select Visual Studio 2017 and click on Modify.
And select Azure Development for installation
Select Azure Cloud Services tool.
After installation it will ask for restart.
After restart we’d see the option added in our Visual Studio.
Hope it helps.