Commit 0f5ceb1
Fix published WASM crash: stop member-trimming the Client assembly
IsTrimmable=true let the IL trimmer strip constructors from components
that are only instantiated via reflection (typeof(MainLayout) through
Router/LayoutView), crashing the published app with CtorNotLocated.
The suppressed IL2110/IL2111 warnings were flagging exactly this path.
Blazor's default partial trim mode still trims framework assemblies.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent b46045f commit 0f5ceb1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments