Add support for TargetFrameworks of the form netXX to the Dotnet SDK installer script. I'm working on a project where I want tests to support the net5 and net6 target frameworks. When I set global.json to net6, the runtimes for the test projects fail to pick up net5. This fix adds support for detecting target framework runtimes of the form netXX.
Add support for TargetFrameworks of the form netXX to the Dotnet SDK installer script. I'm working on a project where I want tests to support the net5 and net6 target frameworks. When I set global.json to net6, the runtimes for the test projects fail to pick up net5. This fix adds support for detecting target framework runtimes of the form netXX.