C
C#2w ago
Faker

Rider suddenly can't run source code, SDK issue

You must install or update .NET to run this application.

App: C:\Users\Test\RiderProjects\driving-school-booking-system\MainProject\MainProject\bin\Debug\net8.0\MainProject.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Users\Test\.dotnet

The following frameworks were found:
9.0.0 at [C:\Users\Test\.dotnet\shared\Microsoft.NETCore.App]
You must install or update .NET to run this application.

App: C:\Users\Test\RiderProjects\driving-school-booking-system\MainProject\MainProject\bin\Debug\net8.0\MainProject.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Users\Test\.dotnet

The following frameworks were found:
9.0.0 at [C:\Users\Test\.dotnet\shared\Microsoft.NETCore.App]
Hello guys, I don't understand, code was working and running fine yesterday. When I try to run it this morning, this error occured. In my sdk folde, ,in the dotnet folder, I have both sdk 8 and 9 but code doesn't run
4 Replies
Faker
FakerOP2w ago
C:\Users\Test\.dotnet\sdk\9.0.100\ I don't understand, previously, rider used dotnet folder and not .dotnet folder
Mierk
Mierk2w ago
You could check the Rider Settings Toolset and Build. Maybe something has changed?
Faker
FakerOP2w ago
yeah I guess the runtime path has changed, but I don't understand why and how, I think I didn't do anything to it it worked, I just change the path back to dotnet folder but would really appreciate if someone can explain me, how comes the folder changes "automatically" from dotnet to .dotnet. I started to use jetbrains toolbox for my jet brains ide updates like rider, can this be a consequence of that?
Mierk
Mierk2w ago
I'm not sure. Could be that after an update, Rider 'guessed' the correct dotnet path, found both dotnet and .dotnet and prioritized to . version. Maybe it's possible to delete one of the two installation paths, to avoid mixups in the future?

Did you find this page helpful?