New linker incrementalism goes wrong when changing <BlazorLinkOnBuild> #18192
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
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
✔️ Resolution: Fixed
The bug or enhancement requested in this issue has been checked-in!
Milestone
Steps:
<BlazorLinkOnBuild>true</BlazorLinkOnBuild>
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
Expected: since you have
BlazorLinkOnBuild=false
, you should be running against the unlinked assemblies and the app should work (although be very big)Actual: it continues to use the linker output from the first build, and hence fails at runtime because the new BCL API you're now using was stripped out
The text was updated successfully, but these errors were encountered: