From 171705992b8a3cdd762796af34d95c132baeeec0 Mon Sep 17 00:00:00 2001 From: Aigio Liu Date: Wed, 5 May 2021 02:05:25 +0800 Subject: [PATCH] fix macos ci --- src/ST.Client.Desktop.Mac/UI/AppDelegate.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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