File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable
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.
any update
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:
For me, the second step worked, by installing via Visual Studio 17.10.0.
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?
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.