Commit e9167fe
committed
fix(cli): remove PublishTrimmed from CLI csproj
RegiLattice.Core uses reflection-based JsonSerializer in Analytics,
AppConfig, Favorites, TweakHistory, PackManager, PipManager, PluginSandbox,
ComplianceHistory and StartupManager. With PublishTrimmed=true these produce
48 IL2026 trim-analysis errors during self-contained publish.
Removing PublishTrimmed/TrimMode/JsonSerializerIsReflectionEnabledByDefault
eliminates all IL2026 errors without any code suppression. The EXE is
slightly larger but all functionality is preserved intact.
Invariant globalization is kept for the ICU bundle size saving.1 parent 8bc4f14 commit e9167fe
1 file changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
22 | 19 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
| |||
0 commit comments