Azure functions core tools installation is stuck in visual studio code

11,241

Solution 1

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

Solution 2

After lost a day with all these install uninstall...

THE MOMENT OF TRUTH
To install the 64-bit version, which allows you to debug, you can use the command

here

choco install azure-functions-core-tools-3 --params="'/x64:true'"

BAM worked I can debug in visual studio code

https://chocolatey.org/packages/azure-functions-core-tools-3#install

the first comment thanks Tyler Doerksen life saver!!!!

Share:
11,241
Oxygen
Author by

Oxygen

A .NET developer working with leading MNC Organization. Relevant Experience is fully on .net 3.5,4.0 and 4.5.

Updated on June 20, 2022

Comments

  • Oxygen
    Oxygen almost 2 years

    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.

  • Oxygen
    Oxygen almost 4 years
    Thank you @George. It helped.