Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

No Frameworks Were Found error

Error when executing dotnet cli in Linux:

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