Jump to content

.NET SDK Not Found even if it's installed

AlTech
Go to solution Solved by Nayr438,

This bug report seems related, https://github.com/dotnet/core/issues/7661

 

You might try reading through, https://github.com/dotnet/core/issues/7699

Hi,

Over the past 2-3 days, I've been having issues with not being able to use Jetbrain's Rider program because it couldn't detect the .NET SDK. I thought this was an issue with Rider, but I've tried to use the dotnet CLI tool at the command line, and it doesn't work either.

 

It says the .NET SDK isn't installed (the project I'm working on requires .NET 6 or .NET Standard 2) but I have the SDK installed.

 

2138186225_Screenshotfrom2022-08-1211-58-40.png.ac62e0d4ea1334713ad11929c867e69a.png

 

I'm using Linux, specifically Pop!_Os 22.04, and I've never had this problem before.

 

I already have the .NET 6 SDK installed, so I don't know why it isn't detected as being installed.

 

335549405_Screenshotfrom2022-08-1212-01-24.png.e851cf4427b3f0298bc9f7975be744c9.png

 

1414397546_Screenshotfrom2022-08-1212-09-23.png.c1231c4ee1c5fc527b71c4a19eaec9e3.png

 

If you have any ideas for how to fix this, I would appreciate it.

Thanks

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

Bear in mind I know shit-all about Linux, but... potential permissions issue?

I had similar problems making Visual Studio Code able to "see" PowerShell modules and it turned out to be because I installed them as admin (obviously) but am running Code as user. Had to modify folder permissions to allow normal users access.

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, Rauten said:

Bear in mind I know shit-all about Linux, but... potential permissions issue?

I had similar problems making Visual Studio Code able to "see" PowerShell modules and it turned out to be because I installed them as admin (obviously) but am running Code as user. Had to modify folder permissions to allow normal users access.

It wouldn't explain why the dotnet CLI tool doesn't work, as that doesn't require sudo, but thanks for the suggestion.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

Did you point it to the correct file path of the correct folder of the sdk? 

 

Linux usually configured things easier but when crap goes wrong... Oi is it annoying haha. 

Link to comment
Share on other sites

Link to post
Share on other sites

28 minutes ago, fpo said:

Did you point it to the correct file path of the correct folder of the sdk? 

 

Linux usually configured things easier but when crap goes wrong... Oi is it annoying haha. 

I installed it from the package manager.

1 hour ago, Nayr438 said:

This bug report seems related, https://github.com/dotnet/core/issues/7661

 

You might try reading through, https://github.com/dotnet/core/issues/7699

Thanks. I'll take a look.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, AluminiumTech said:

I installed it from the package manager.

yes, but does the program your using know to look where you package manager installed it?

Link to comment
Share on other sites

Link to post
Share on other sites

You may have to manually point rider to the correct directory. Rider is a bit outdated when searching for newer versions of dotnet on linux.

 

I remember I had face similar issues some years back when upgrading from dotnet core to the newer .NET 5. It needed some manual configuration. 

Sudo make me a sandwich 

Link to comment
Share on other sites

Link to post
Share on other sites

On 8/12/2022 at 8:01 PM, fpo said:

yes, but does the program your using know to look where you package manager installed it?

 

22 hours ago, wasab said:

You may have to manually point rider to the correct directory. Rider is a bit outdated when searching for newer versions of dotnet on linux.

 

I remember I had face similar issues some years back when upgrading from dotnet core to the newer .NET 5. It needed some manual configuration. 

So I did fix it by removing the previous .NET SDK installation entirely and I installed it again using Microsoft's new repo feed for Ubuntu 22.04. They seem to have broken their old repo feed for Ubuntu 22.04.

 

Even with the new SDK install, Rider was refusing to load the project until I decided to delete the solution, make a new solution, and add the existing project to it. But thankfully it is working now. Many thanks to everyone in this thread for the help.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×