Search code examples
azurevisual-studioazure-functionsazure-functions-runtimeazure-functions-core-tools

Debug profile does not exists error after VS 2019 update when running azure function


Can't debug azure function from Visual Studio 2019 after updating to version 16.10.0. Getting following error.

enter image description here

enter image description here


Solution

  • The problem with this issue was it is not properly installed that referenced version of Azure Function Tools. So when it was downloaded partially it is not even trying to re-install it. So I was able to re-install it by doing the following workaround.

    1. Removed the existing installation folder (C:\Users\SithiraP\AppData\Local\AzureFunctionsTools\Releases\3.23.4)

    2. Created a new Azure Function app from visual studio. (It is downloading again Azure Function Tools when creating a new Azure function project)