更新时间:2023-02-09 09:56:27
答案就是 App.xaml.cs 中的那一行:
The answer is that line in App.xaml.cs:
MvxWpfSetupSingleton.EnsureSingletonAvailable(Dispatcher, MainWindow);
它初始化"Setup.cs 和同样的记录器.
It 'initializes' the Setup.cs and the same the logger.
MvvmCross 7 如何在 WPF (.net Core 3.1) 应用程序中设置 Serilog
如何在ASP .NET Core 3.1中设置请求超时
Microsoft.ReportViewer.WinForms.V15 与 .NET Core 3.1 不兼容 - 如何在 WPF Core 中显示 RDLC?
Microsoft.ReportViewer.WinForms.V15与.NET Core 3.1不兼容-如何在WPF Core中显示RDLC?