According to MS docs it is possible to pin down the version of SDK used in global.json
file:
{
"sdk": {
"version": "6.0.300",
"rollForward": "latestFeature"
}
}
In my repo I have some projects using .NET6 and some other still targeting .NET5. Is it possible to pin down both 6.0.300
and 5.0.201
in the config file at the same time? Without this, all the .NET5 project start using the latest SDK5 installed on a machine.