Latest Blazor SDK lost all feature switch settings causing a size regression #25099
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Done
This issue has been fixed
Milestone
Describe the bug
The latest Blazor SDK is not setting the linker feature switch settings that were added in #23987. This is causing the IL size to regress from ~2.2MB before to ~2.8MB (uncompressed)
To Reproduce
dotnet new blazorwasm
dotnet publish -c Release
Inspect the publshed assemblies - especially System.Private.CoreLib.
Expected results
In previous builds, System.Private.CoreLib was around 1.2 MB uncompressed.
Actual results
In the latest build, System.Private.CoreLib is about 1.6 MB uncompressed.
Further technical details
dotnet --info
cc @pranavkm
The text was updated successfully, but these errors were encountered: