I wanted to change the target framework from net.5.0 to net 6.0. So I manually changed the target framework on my csproj files and after that updated all my nugget packages. I have the .NET SDK 6.03 installed.
However I get the same error on every changed target framework: