请问单文件是怎么实现的?
#535
-
我看Release这边windows和linux下的发布文件都是单文件,没有带skia的dll,请问是如何实现的 |
Beta Was this translation helpful? Give feedback.
Answered by
zdpcdt
Jan 18, 2025
Replies: 2 comments 3 replies
-
在发布命令添加 具体可以参考Semi.Avalonia的Action dotnet publish demo/Semi.Avalonia.Demo.Desktop -r win-x64 -c Release --sc /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
zdpcdt
-
谢谢。上面这种方式不是AOT吧?我以为是AOT不带DLL |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在发布命令添加
/p:PublishSingleFile=true
参数具体可以参考Semi.Avalonia的Action