-
Notifications
You must be signed in to change notification settings - Fork 447
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
Ubuntu 22.10 .Net 7 - Keep getting the message ".NET location: Not found" #15141
Comments
Have you installed multiple versions of dotnet from different sources? I ask because from the --info output, you can see DOTNET_ROOT is set to a different path than where your runtime is actually installed to. If you fix that, it should fix this issue but the question is how did the root value get set. |
That is a very good question to you and your team. Why is it not cleaned up when I uninstalled previous version of .Net 6? |
I have same issue. ❯ dotnet --info
Host:
Version: 7.0.2
Architecture: x64
Commit: d037e070eb
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.2 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.2 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/lib/dotnet] But I see dotnet7 sdk here 347268 /usr/share/dotnet/sdk/7.0.102
347268 /usr/share/dotnet/sdk And whereis dotnet
dotnet: /usr/bin/dotnet /usr/lib/dotnet /etc/dotnet /usr/share/dotnet /usr/share/man/man1/dotnet.1.gz So, my question is what should go where (SDK path etc) ? |
The text was updated successfully, but these errors were encountered: