Cannot find Azure features when setting up a new project in VS 2017

I recently started to learn the features of Azure. I created some on the portal, but now I want to develop them in Visual Studio.

I have VS 2017 in version 15.3.2, and I also installed the Azure development workload. I saw in the tutorials that I should have “Azure Functions” on the “Cloud” tab when adding a new project, but it’s not there. I checked this on my personal and work computer.

I found additional features of "Azure Functions and Web Jobs Tools" in VS Gallery. It adds the Azure Functions options, but it doesn't work as I wanted. I do not have special forms for adding new features, etc.

Is there a bug in this addon? Do you know that I need to install something else?

+5
source share
3 answers

After you created a new Azure Function project in VS2017, it is actually a boneless project with host.json and local.settings.json .

To create Azure Function, follow these steps:

  • Right-click the project and select Add → New Item → Azure Function enter image description here

  • Choose from Azure Feature Templates enter image description here

  • You should see the Azure Function C # code file created for you. enter image description here

Here is a good guide to get started with your Azure Function project in VS2017 15.3 and later.

https://blogs.msdn.microsoft.com/webdev/2017/05/10/azure-function-tools-for-visual-studio-2017/

+6
source

The blog post referenced by @juvchan has the answer to this exact question

I installed Visual Studio 2017 15.3 and the Azure development workload, but I don’t see the Azure Functions project type or I get an error trying to create or run an application

When you automatically extract the Azure workload, the Azure Function functions are distributed through the Visual Studio gallery, which allows us to update them as needed to respond to changes on the Azure side that are not always in the Visual Studio schedule,

If for some reason the tools will not be automatically updated from the gallery, in Visual Studio go to the Tools | Extensions and updates, and see the "Updates" tab. If it shows that the update is available for "Azure Functions and Web Job Tools", manually update them by clicking the "Update" button.

This is fixed for me.

+3
source

Updating visual studio to 15.4+ worked for me.

Visual Studio 2017 version 15.4 or later, including the Azure Workload.

in the Prerequisites section

+1
source

Source: https://habr.com/ru/post/1271268/


All Articles