-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot use update database or add migration. #215
Comments
Hi @atilao4501, I can't tell for sure but seems like your shell configuration that Rider uses has the incorrect dotnet tools location. Please try to troubleshoot the problem using this guide. This is probably not a plugin issue. Also please check which shell is used in |
I have identical issue. |
Could you folks try to configure |
Did you tried restarting Rider after changing |
yes sir. |
From which environment do you start Rider? Is it from a superuser or your regular one? It would be great if you share your launcher configuration if it's possible and presented. |
Please try to find the "IDE Scripting Console" in Search Everywhere (Shift, Shift), then type there |
Please follow the instructions from |
|
It means that your user profile environment differs from the one you use in the external terminal and in the terminal tool window inside Rider (it works there because we spawn a new terminal session using a dedicated login shell). So the only way to solve this issue correctly is to launch Rider from the same environment as your normal user profile-based terminal work. |
thank you |
thats mine, still doesnt work. Tried this but didnt work: |
Hello everybody, first at all, rider updates the Not only rider needs a restart, you need to log out and log in again to make the changes take any effect. To be sure just restart your entire system. There are no other action needed like modifying the shortcut or starting rider from the shell. Please read this before modifying |
I also have this problem. I added the path in If I open a terminal (fish terminal, had to add it to PATH in a different way), If I open Rider, open the terminal, If I open Rider from the terminal, then it works. Changing Rider terminal to fish doesn't help either. One work-around is in Settings|Tools|Terminal, Environment Variables, copy the system value and add it in the custom variables zone with the new value. That's hacky but it works... |
Hi, i just started to learn .NET and this is my first project. I use JetBrains Rider on linux (Mint) and i was trying to create migrations and update my database using the efcore, but it doesnt work, it says that cant find the dotnet ef. But when i run on my terminal it works.
translation:
`/home/atila/.dotnet/dotnet ef database update --project GeekShopping.ProductApi/GeekShopping.ProductApi.csproj --startup-project GeekShopping.ProductApi/GeekShopping.ProductApi.csproj --context GeekShopping.ProductApi.Model.Context.MySqlContext --configuration Debug 20240221142417_AddProductDataTableOnDb
The specified command or file was not found.
Possible reasons for this include:
Process finished with exit code 1.
`
and thats my PATH:
The text was updated successfully, but these errors were encountered: