Azure functions core tools installation is stuck in visual studio code

Oxygen picture Oxygen · May 20, 2020 · Viewed 7.3k times · Source

I have created Azure function app to execute powershell script. Wanted to run it on my local first to test it. When I run it, with or without debugging option, one popup is coming which says - "You must have the azure functions core tools installed to debug your local functions." When I click on Install on this popup, it seems automatically starting installing Azure functions core tools.

But its stuck at one point - attempting to GET "https://functionscdn.azureedge.net/public/3.0.2534/Azure.Functions.Cli.win-x64.3.0.2534.zip"

Confirmed my network is good, tried by restarting PC and followed the steps again but no luck.

Other observation is, even If I install it manually using command prompt by using below command,

npm install -g azure-functions-core-tools@3

it still says "You must have the azure functions core tools installed to debug your local functions."

Reference is - enter image description here Can you please guide how to proceed with this? Thank You.

Answer

George Chen picture George Chen · May 21, 2020

Go the Azure Functions Core Tools release page, download MSI file of the version you want, then just install it.

Or you could download the zip file, unzip it then set the folder path to your environment Path.

enter image description here