-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Currently, the tool definition allows for installing a single main SDK deployment. That is sufficient for building.
However, when running unit test projects with multiple target frameworks, that causes problems. The test host is executed in a way that requires the target framework's runtime to be available. So while the .NET 9 SDK is perfectly capable of building a unit test project for .NET 6/7/8/9, running it requires the runtimes for 6/7/8 to be available too.
It would be convenient if the tool definition would include an option to deploy multiple versions, either full SDKs, or one SDK plus a number of runtimes.
Of course, this assumes such a deployment is even possible, both at the .NET level and the Jenkins level (for example, I'm not sure the current download-based installer handles extracting multiple zip archives to the same folder, should that be required).