-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
Here are the links to the main sympthoms
MessagePack-CSharp/MessagePack-CSharp#1387
fsprojects/FSharpLint#536
The root of the issue seems to be these lines:
// Components of the SDK often have dependencies on the runtime they shipped with, including that several tasks that shipped
// in the .NET 5 SDK rely on the .NET 5.0 runtime. Assuming the runtime that shipped with a particular SDK has the same version,
// this ensures that we don't choose an SDK that doesn't work with the runtime of the chosen application. This is not guaranteed
// to always work but should work for now.
if (major > Environment.Version.Major ||
(major == Environment.Version.Major && minor > Environment.Version.Minor))
{
return null;
}So if library is built with .net5.0 and then used on the environment with just .net6.0 is installed it fails, because the check above returns null. At the same time there shouldn't be any restrictions of running tools on higher versions of sdk's.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels