Skip to content

How to manually update the Azure Functions Core Tools

Fabio Cavalcante edited this page Jun 15, 2018 · 4 revisions

The following steps describe how you can manually update the Azure Functions Core Tools version used by Visual Studio:

  1. Install the Azure Functions Core Tools from NPM. The core tag will have the latest version: npm i -g azure-functions-core-tools@core --unsafe-perm true
  2. In your function project properties, under Debug create a new profile and update the following values: properties
    • Launch: Executable
    • Executable: dotnet.exe
    • Application arguments: %userprofile%\AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\func.dll host start (NOTE: this path may differ if you're using NVM. You can use npm root -g to find the exact path to the node_modules folder)

You can also copy the following launchSettings.json file or add the FunctionsCLI profile to your existing one: https://github.com/fabiocav/azure-functions-custom-tool-config/blob/ae3325aa2044607fe50c919c91293b74b26900a1/launchSettings.json

{
  "profiles": {
    "FunctionsCLI": {
      "commandName": "Executable",
      "executablePath": "dotnet.exe",
      "commandLineArgs": "%userprofile%\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\bin\\func.dll host start"
    }
  }
}
Clone this wiki locally