-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
The dotnet-ef tool is not functioning properly on NetPad on macOS. #78
Comments
That's interesting, it looks like although NetPad is saying it can't find the EF Core tool, it was still able to execute it, and then the tool wasn't able to find the .NET SDK. I assume you restarted NetPad after installing the EF Core tool? I'll investigate and see what's going on. Thanks for reporting. |
Also I noticed in the StackTrace your last screenshot that it seems you've built NetPad from source? If so, were you seeing the same exact error when using the prebuilt binary? |
Yep that's exactly what the problem is. Thank you for taking the time and digging and providing all that great info, makes my job that much easier! 😄 I think there's a couple more places where I need to pass along the env variables, and the one you pointed to is one of them. Should have a patch for this soon. Did you use the standard installer from Microsoft to install the .NET SDK or did you use a package manager like homebrew? Trying to account for the different install pathways users might choose. |
I use the official dotnet-install.sh installation script to install the .NET SDK, it defaults to installing it in my home directory. https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#script-behavior |
Update: #84 is merged and will fix this issue. It will go out in v0.5.0. I also added Will keep this open until you're able to confirm the new version is working properly for you. |
@2hangha1fen9 v0.5.0 is out, can you please verify your issue is resolved. |
It's working now, but the dependency detection dialog is not displaying correctly.👍 |
@darwin-z a couple versions of NetPad have been released since the last update here. Are you still experiencing this issue? |
I've already set up the .NET SDK and installed the dotnet-ef tool. It runs fine in the local command line. However, on the App Dependencies Check page, it shows that the .NET SDK is installed successfully, but dotnet-ef displays "Entity Framework Core .NET tool is not installed."
![image](https://private-user-images.githubusercontent.com/102583750/261335397-f1bc09f5-0864-4057-bbf6-34ee037e608b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzk1NDMsI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rBCqeIbQ)
![image](https://private-user-images.githubusercontent.com/102583750/261336256-8aa91635-f527-4271-8952-a5bde79ee81d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzk1NDMsIm5iZiI6MTcyMDE3OTI0MywicGF0aCI6Ii8xMDI1ODM3NTAvMjYxMzM2MjU2LThhYTkxNjM1LWY1MjctNDI3MS04OTUyLWE1YmRlNzllZTgxZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNVQxMTM0MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMjE5OGZhZTA3MzM3M2E1MmEwOWZjMzNmMjUyNjAyOTE3ZDk0MTYxOGY0ODFhZGEwMjM1YmY2ODgwYjFiMjBjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.cTyTciNzSQRJqbF9UEMC-8K7gMexO38SEcVgLKjsFUk)
![image](https://private-user-images.githubusercontent.com/102583750/261336389-07e2c484-1305-43ab-a158-e15ec3000e17.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzk1NDMsIm5iZiI6MTcyMDE3OTI0MywicGF0aCI6Ii8xMDI1ODM3NTAvMjYxMzM2Mzg5LTA3ZTJjNDg0LTEzMDUtNDNhYi1hMTU4LWUxNWVjMzAwMGUxNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNVQxMTM0MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZThlYmMwODdkZTcyNTAxOGMzYzAwNjJjN2RmMjViMDk5YWM3MDU0OTdkMDNiNWI2MWJlZjkxYjNmOGFlMjkyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.puwEIuzFpY2TUkjhwbx7iZ-ZiJ_ubjd1YvNLDki_Eqk)
The text was updated successfully, but these errors were encountered: