TerraMours.Chat.Ava icon indicating copy to clipboard operation
TerraMours.Chat.Ava copied to clipboard

AOT 发布 双击exe 过两秒中自动退出

Open myFirstway opened this issue 1 year ago • 0 comments

TerraMours.Chat.Ava.csproj 中配置AOT

<PublishAot>true</PublishAot>

执行

dotnet publish -c Release -r win-x64 /p:PublishTrimmed=true 

发布完后双击exe 过两秒中自动退出

myFirstway avatar Feb 02 '24 13:02 myFirstway