-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'dotnet' with working directory #179
Comments
Hi @golesmn , thanks for the ticket. Please share your dialog setup before executing the command. Also, please uncheck "No build" checkbox, it should not be used unintentionally. |
And also please share your solution layout. Where your .csproj files are located? |
When you click "Preview", which "Working directory" is shown? |
working directory is correct. It is same as the working directory where the csproj and solution are located. |
I have the same problem. The command works if I run it manually from terminal window. OS: Linux Mint 21.2 |
how to fix this problem pleasehelp me, when I add migrate I faced error like this. |
I have the same problem. I use vscode. |
Same problem in Rider 2024.2.2 |
Hi folks, please add as many details about your cases as possible. Thank you. @Prohor327 if your question is about |
Process finished with exit code 1. Terminal command works normally |
Rider executes So I suggest performing 2 checks: 1. Environment comparisonPlease check your To validate which environment is used by Rider:
More information about IDE Scripting Console could be found here. 2.
|
Also having the same issue, but it seems that only dotnet-ef is on my path, but dotnet is'nt, how do we change the path on the IDE scripting console? |
Created a symlink on /usr/local/bin cause that path was already registered on IDE scripting console. But i dont like the solution at all |
When I use the ui tool for creating migrations and updating the db it says System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'dotnet' with working directory.It works when I execute the same command from the terminal. I am currently on ubuntu 22.04
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I wanted the migrations to run or make migrations but it is not happening using the tool but I can do that from the terminal
Screenshots
Environment :
OS: Ubuntu 22.04
.NET SDK info (installed ones and version used within Rider): 6.0.408
Plugin version: 232.0.0-rc1
Rider version: 2023.2
The text was updated successfully, but these errors were encountered: