Search code examples
ubuntu.net-corerider

How do I fix my broken .NET 6 installation on Ubuntu?


I have .NET 6 and .NET 7 on my Ubuntu system. When I try to execute a test in Rider it says dotnet 6 isn't installed. But it is. If I run dotnet --list-runtimes it shows only .NET 7.

Boring console stuff


Solution

  • Looks like you have only runtime for .NET 6, but not Framework .NET 6. Building Apps and running tests needs framework too.