Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to see Add->Existing Project as Azure Web Job Option when I right click on Web project in Solution Explorer of Visual Studio 2017

When I right click on the Web Project in the Solution Explorer of Visual Studio 2017, I don't see an option 'Add Existing Project as Azure Web Job'. I did install Nuget-packages such as Microsoft.Web.WebJobs.Publish for the web project. I am following this link https://docs.microsoft.com/en-us/azure/app-service-web/websites-dotnet-deploy-webjobs#convertlink to enable automatic WebJobs deployment with a web project.

Ideally, I am supposed to see like this, but that highlighted option is not shown in my visual studio 2017 Click to see image for how actually visual studio should have shown me an option

like image 828
SDE Avatar asked Aug 11 '17 05:08

SDE


People also ask

How do I open an existing website in Visual Studio 2017?

Workaround: Open separate studio 2017 instance. Go to File > Open > Web Site. Select your website path and click Open.

Which Azure websites feature should you enable for continuously running WebJobs?

If you set the web app that hosts your job to run continuously, run on a schedule, or use event-driven triggers, enable the Always on setting on your web app's Azure Configuration page. The Always on setting helps to make sure that these kinds of WebJobs run reliably.

How do I upload a project to Azure in Visual Studio?

Create or open an Azure cloud service project in Visual Studio. In Solution Explorer, right-click the project, and, from the context menu, select Convert > Convert to Azure Cloud Service Project. In Solution Explorer, right-click the newly created Azure project, and, from the context menu, select Publish.


Video Answer


1 Answers

I don't see an option 'Add Existing Project as Azure Web Job'.

As far as I know, Visual Studio does not support to deploy WebJobs with ASP.NET Core Web Application currently.

enter image description here

But this feature is available in ASP.NET Web Application.

enter image description here

If you can not see 'Add Existing Project as Azure Web Job' option in your ASP.NET Web Application, you can try to repair or reinstall your Visual Studio and upgrade/reinstall your Azure SDK.

like image 111
Fei Han Avatar answered Oct 11 '22 20:10

Fei Han