Describe the bug
.NET 10.0.100 SDK contains inconsistently targeted Roslyn (under <sdkroot>/Roslyn/bincore) on Ubuntu 22.04 x64, depending on how you install the SDK.
This matters because of analyzers and their references.
Is assuming that within one version of the SDK, the compiler will have same target correct?
To Reproduce
Aptitude: sudo apt install dotnet-sdk-10.0 - this contains Roslyn that targets net10.0
Web: wget https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.100/dotnet-sdk-10.0.100-linux-x64.tar.gz - this contains Roslyn that targets net9.0
Web downloads seem to be consistent across OSs.
Further details
Look at the target framework (or referenced assemblies) of <sdkroot>/Roslyn/bincore/Microsoft.CodeAnalysis.CSharp.dll.