-
Notifications
You must be signed in to change notification settings - Fork 67
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:
- 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
- In your function project properties, under Debug create a new profile and update the following values:
- 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 usenpm root -g
to find the exact path to thenode_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"
}
}
}