1

I am running azure project and getting the following error

Azure Functions Core Tools Core Tools Version: 3.0.3216 Commit hash: 91e025087513e9e0f3ad02442e35e2f58b40d1b3 Function Runtime Version: 3.0.15193.0 Skipping 'JAVA_HOME' from local settings as it's already defined in current environment variables. [2022-05-16T14:25:28.863Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable. [2022-05-16T14:25:39.649Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable. [2022-05-16T14:25:40.239Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable. [2022-05-16T14:25:40.646Z] File 'C:\Program Files\dotnet\dotnet.exe' is not found, 'dotnet' invocation will rely on the PATH environment variable. [2022-05-16T14:25:40.727Z] Worker process started and initialized.

i have Installed AzureFunction tool in the system and install Azure Toolkit Plugin in intellij

1 Answer 1

3

Please check the below steps if it helps to, as it is working from our end:

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

It looks like dotnet is not included in the System Environment Variables Path.

How to find this?

Click on Windows 🪟 Search Button > Type Environment Variables > Open and Click 🖱️ on Environment Variables > check these paths available in your system:

enter image description here

If dotnet is not found, install the latest SDK of dotnet and check after installing using the command in the command prompt: dotnet --version.

If any of the paths are not available, include those in Environment Variables of the System.

Also, check user variables in the same dialog box:

enter image description here

After this, once check the required tools installed and steps mentioned in this MSFT Doc are followed and then try running the function.

Sign up to request clarification or add additional context in comments.

3 Comments

We are using java and build tool gradle in our project . Do we need to install dotnet
Yes, could you please install and try once!
@HariKrishna I was having the same problem with my Python function and your answer solved it. Can you please let me know why dotnet is needed here, if we are working on other languages like python, JAVA?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.