myFirstway

Results 2 issues of myFirstway

TerraMours.Chat.Ava.csproj 中配置AOT ``` true ``` 执行 ``` dotnet publish -c Release -r win-x64 /p:PublishTrimmed=true ``` 发布完后双击exe 过两秒中自动退出

PM> Add-Migration AuthServer_init Build started... Build succeeded. [16:35:56 INF] Starting AuthServer. [16:35:57 FTL] AuthServer terminated unexpectedly! Microsoft.Extensions.Hosting.HostAbortedException: The host was aborted. at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.ThrowHostAborted() at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.OnNext(KeyValuePair`2 value) at System.Diagnostics.DiagnosticListener.Write(String name, Object...