dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.71k stars 1.06k forks source link

Centralize more toolsetversion-related data for tests #41583

Open baronfel opened 4 months ago

baronfel commented 4 months ago

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

If you want all supported TFMs you can use PublishTestTools.SupportedTfms. Don't ask me why they're in separate places.

_Originally posted by @agocke in https://github.com/dotnet/sdk/pull/38504#discussion_r1638495405_

dotnet-issue-labeler[bot] commented 4 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 4 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.