Skip to content

Commit c31ccd5

Browse files
committed
DISABLE AOT
1 parent 1704827 commit c31ccd5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/canary-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,13 @@ jobs:
117117
command: |
118118
# Only build for linux-x64 since cross-OS native compilation is not supported
119119
# Use framework-dependent single-file to avoid AOT compilation version mismatch
120+
# Disable AOT compilation to prevent ILCompiler version mismatch
120121
dotnet publish samples/PleasantUI.Example.Desktop/PleasantUI.Example.Desktop.csproj \
121122
--configuration Release \
122123
--runtime linux-x64 \
123124
-p:PublishSingleFile=true \
124125
-p:IncludeNativeLibrariesForSelfExtract=true \
126+
-p:PublishAot=false \
125127
-p:TreatWarningsAsErrors=false \
126128
-o /tmp/example-app-linux-x64 || exit 1
127129

0 commit comments

Comments
 (0)