diff --git a/samples/Sorgan/Sorgan.WinForms.Client/Program.cs b/samples/Sorgan/Sorgan.WinForms.Client/Program.cs index 15c32e71..ffa9e77c 100644 --- a/samples/Sorgan/Sorgan.WinForms.Client/Program.cs +++ b/samples/Sorgan/Sorgan.WinForms.Client/Program.cs @@ -6,6 +6,8 @@ using Microsoft.Extensions.Logging; using Sorgan.WinForms.Client; +ApplicationConfiguration.Initialize(); + var host = new HostBuilder() // Note: applications for which a single instance is preferred can reference // the Dapplo.Microsoft.Extensions.Hosting.AppServices package and call this diff --git a/samples/Sorgan/Sorgan.WinForms.Client/Sorgan.WinForms.Client.csproj b/samples/Sorgan/Sorgan.WinForms.Client/Sorgan.WinForms.Client.csproj index 0782ff42..152dbded 100644 --- a/samples/Sorgan/Sorgan.WinForms.Client/Sorgan.WinForms.Client.csproj +++ b/samples/Sorgan/Sorgan.WinForms.Client/Sorgan.WinForms.Client.csproj @@ -5,6 +5,7 @@ $(NetCoreWindowsTargetFramework) true true + PerMonitorV2