Commit 1fca91e
authored
fix(build): disable assembly trimming to fix release crashes (#37)
WinUI 3 applications crash when assembly trimming is enabled because
XAML deserialization relies on dynamic type instantiation and metadata
that gets stripped by the trimmer. This caused STATUS_STOWED_EXCEPTION
(0xc000027b) crashes in Microsoft.UI.Xaml.dll when running the portable
release build.
Changes:
- Remove PublishTrimmed from release workflow
- Set PublishTrimmed=false in publish profiles
- Remove unnecessary trim warning suppression settings
Fixes #351 parent 5cad081 commit 1fca91e
File tree
4 files changed
+2
-8
lines changed- .github/workflows
- src/CodingWithCalvin.VSToolbox/Properties/PublishProfiles
4 files changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
0 commit comments