azure-functions-core-tools icon indicating copy to clipboard operation
azure-functions-core-tools copied to clipboard

File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable

Open pguardiario opened this issue 2 years ago • 3 comments

Is there a way to disable these warnings in local.settings.json? I'm not sure what dotnet.exe is but I'm pretty sure my js function doesn't need it.

pguardiario avatar Feb 24 '23 00:02 pguardiario

any update

ab958 avatar Mar 10 '24 12:03 ab958

To resolve this warning, you can install the .NET SDK either directly from the website or through Visual Studio (version 2022 or 2017).

Website Link: https://dotnet.microsoft.com/en-us/download

Alternatively, while installing or updating Visual Studio, you can choose the following option: image

For me, the second step worked, by installing via Visual Studio 17.10.0.

K-Vivek-Kumar avatar May 28 '24 06:05 K-Vivek-Kumar

Hi all,

I've already installed .NET SDK8 in a non-standard location (e.g. C:\software\dotnet\) and set it into PATH, but function tools still complain about this. Any solutions?

southwolf avatar Jul 07 '24 03:07 southwolf

I am also facing this issue. I use the dotnet SDK installed from the dotnet-install scripts to a non-standard path and the function core tools is refusing to use the dotnet tools from the PATH environment variable. It would be great if the tool only tried to use the default path if no dotnet tool is found in the PATH.

GABRIELNGBTUC avatar Sep 25 '25 12:09 GABRIELNGBTUC