Open ViktorHofer opened 3 years ago
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer See info in area-owners.md if you want to be subscribed.
Author: | ViktorHofer |
---|---|
Assignees: | - |
Labels: | `area-Infrastructure-libraries` |
Milestone: | 6.0.0 |
cc @GrabYourPitchforks for the System.Text.Encodings.Web part as well.
Here's a list of projects that are packable and multi-target based on the TargetFramework and TargetPlatform, ordered by the number of assemblies in the correspnding package when we ship .NET 8:
One library in the list that surprises me is System.Runtime.Caching
. It doesn't seem like it should need to be target platform-specific.
System.Data.Odbc has a big number of platform specific configurations. As those are now shipping as part of https://github.com/dotnet/runtime/pull/53439, it might make sense to review and see if some of these configurations could be collapsed together.
System.Text.Encodings.Web targets a Browser even though it doesn't use any platform specific APIs. Apparently this is so that the linker can trim out Vector128 on browser-wasm: https://github.com/dotnet/runtime/pull/53439#discussion_r643263009. We should see if there's a better way to make this work without the platform specific configuration.
EDIT: In addition to that, we need to make sure that all dependencies from the platform TFMs are represented in the platform agnostic TFM.
cc @ericstj @eerhardt @MichalStrehovsky @marek-safar @ajcvickers