sudo apt install dotnet-sdk-8.0 Even after installing the new SDK, your project might default to an older one. To force usage of the “8.1” SDK:
So what do people mean when they say ?
brew install dotnet-sdk
winget install Microsoft.DotNet.SDK.8
"sdk": "version": "8.0.500", "rollForward": "latestFeature" 8.1 sdk
dotnet --list-sdks Look for entries like:
Then run: