diff --git a/src/ST.Client.Desktop.Mac/UI/AppDelegate.cs b/src/ST.Client.Desktop.Mac/UI/AppDelegate.cs index 8d568e52e..09b6115b4 100644 --- a/src/ST.Client.Desktop.Mac/UI/AppDelegate.cs +++ b/src/ST.Client.Desktop.Mac/UI/AppDelegate.cs @@ -1,4 +1,4 @@ -#if MONO_MAC +#if MONO_MAC using MonoMac.AppKit; using MonoMac.Foundation; #elif XAMARIN_MAC @@ -60,7 +60,7 @@ namespace System.Application.UI /// public override void DidFinishLaunching(NSNotification notification) { -#if !NETSTANDARD +#if !NETSTANDARD && !NET5_0 VisualStudioAppCenterSDK.Init(); #endif