Centralize more toolsetversion-related data for tests
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
We should centralize the TFM lists in the PublishTestTools.SupportedTfms with the centralized layout information ToolsetInfo.
> Yeah, we built this for the linker/AOT tests. If you just want the current TFM you can do [ToolsetInfo.CurrentTargetFramework](https://github.com/dotnet/sdk/blob/12a7cfd34eb17d8faf8f70e53b20369390f367a3/test/Microsoft.NET.TestFramework/ToolsetInfo.cs#L11)
>
> If you want all supported TFMs you can use [PublishTestTools.SupportedTfms](https://github.com/dotnet/sdk/blob/12a7cfd34eb17d8faf8f70e53b20369390f367a3/test/Microsoft.NET.Publish.Tests/PublishTestUtils.cs#L10). Don't ask me why they're in separate places.
_Originally posted by @agocke in https://github.com/dotnet/sdk/pull/38504#discussion_r1638495405_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.