No frameworks were found
To fix this, first remove the existing dotnet installation:
sudo apt remove 'dotnet*'
sudo apt remove 'aspnetcore*'
sudo apt remove 'netstandard*'
Then, reinstall each SDK:
sudo apt install dotnet-sdk-6.0
sudo apt install dotnet-sdk-7.0
----
Source: https://stackoverflow.com/questions/73312785/dotnet-sdk-is-installed-but-not-recognized-linux-ubuntu-popos-22-04
{{tag>dotnet}}