From 3235f3e3dc925be59124357ca1c7656746bed3a2 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Thu, 25 Apr 2024 23:55:36 +0400 Subject: [PATCH] fix: Fixed MAUI. --- H.NotifyIcon.Maui.slnf | 12 ++ .../H.NotifyIcon.Apps.Maui.csproj | 112 +++++++++--------- .../H.NotifyIcon.Maui.csproj | 17 ++- src/libs/H.NotifyIcon/H.NotifyIcon.csproj | 43 +++++++ 4 files changed, 127 insertions(+), 57 deletions(-) create mode 100644 H.NotifyIcon.Maui.slnf diff --git a/H.NotifyIcon.Maui.slnf b/H.NotifyIcon.Maui.slnf new file mode 100644 index 0000000..a2221cd --- /dev/null +++ b/H.NotifyIcon.Maui.slnf @@ -0,0 +1,12 @@ +{ + "solution": { + "path": "H.NotifyIcon.sln", + "projects": [ + "src\\apps\\H.NotifyIcon.Apps.Maui\\H.NotifyIcon.Apps.Maui.csproj", + "src\\libs\\H.GeneratedIcons.SkiaSharp\\H.GeneratedIcons.SkiaSharp.csproj", + "src\\libs\\H.GeneratedIcons.System.Drawing\\H.GeneratedIcons.System.Drawing.csproj", + "src\\libs\\H.NotifyIcon.Maui\\H.NotifyIcon.Maui.csproj", + "src\\libs\\H.NotifyIcon\\H.NotifyIcon.csproj" + ] + } +} \ No newline at end of file diff --git a/src/apps/H.NotifyIcon.Apps.Maui/H.NotifyIcon.Apps.Maui.csproj b/src/apps/H.NotifyIcon.Apps.Maui/H.NotifyIcon.Apps.Maui.csproj index 0495657..4bc3c9a 100644 --- a/src/apps/H.NotifyIcon.Apps.Maui/H.NotifyIcon.Apps.Maui.csproj +++ b/src/apps/H.NotifyIcon.Apps.Maui/H.NotifyIcon.Apps.Maui.csproj @@ -1,72 +1,74 @@ - - $(TargetFrameworks);net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 - - - Exe - H.NotifyIcon.Apps.Maui - true - true - enable - $(NoWarn);MT0182 + + $(TargetFrameworks);net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + - - H.NotifyIcon.Apps.Maui + + - - com.companyname.h.notifyicon.apps.maui - a561af7e-af0d-45ff-af2c-541570fbc6a3 + Exe + H.NotifyIcon.Apps.Maui + true + true + enable + enable - - 1.0 - 1 + + H.NotifyIcon.Apps.Maui - 11.0 - 13.1 - 21.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 - + + com.companyname.h.notifyicon.apps.maui - - - - - - + + 1.0 + 1 - - - + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + - - + + + - - - + + - - + + + - - - + + - - - - - - + + + - - - + + + + + + + + + + + + - + diff --git a/src/libs/H.NotifyIcon.Maui/H.NotifyIcon.Maui.csproj b/src/libs/H.NotifyIcon.Maui/H.NotifyIcon.Maui.csproj index dd75f35..1d13a8e 100644 --- a/src/libs/H.NotifyIcon.Maui/H.NotifyIcon.Maui.csproj +++ b/src/libs/H.NotifyIcon.Maui/H.NotifyIcon.Maui.csproj @@ -1,12 +1,21 @@ - net8.0;net8.0-windows10.0.19041.0 + net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-windows10.0.19041.0 + + $(TargetFrameworks);net8.0-tizen true $(DefineConstants);HAS_PLATFORM_CODE;HAS_MAUI $(DefineConstants);HAS_MAUI_WINUI $(NoWarn);CA1031;CS8002;CS0108;CA1501;CA1513 true + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 @@ -30,7 +39,11 @@ popups, context menus, and balloon messages. It can be used directly in code or - + + + + + all compile; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/libs/H.NotifyIcon/H.NotifyIcon.csproj b/src/libs/H.NotifyIcon/H.NotifyIcon.csproj index 98ca484..fab5976 100644 --- a/src/libs/H.NotifyIcon/H.NotifyIcon.csproj +++ b/src/libs/H.NotifyIcon/H.NotifyIcon.csproj @@ -39,4 +39,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file