diff --git a/NotifyIcon.Demo.Maui/NotifyIcon.Demo.Maui.csproj b/NotifyIcon.Demo.Maui/NotifyIcon.Demo.Maui.csproj index 087005c..0efe710 100644 --- a/NotifyIcon.Demo.Maui/NotifyIcon.Demo.Maui.csproj +++ b/NotifyIcon.Demo.Maui/NotifyIcon.Demo.Maui.csproj @@ -4,7 +4,6 @@ net8.0-windows10.0.19041.0 $(TargetFrameworks);net8.0-windows10.0.19041.0 Exe - MauiApp1 true true enable diff --git a/NotifyIcon.Demo.Maui/Platforms/Windows/App.xaml.cs b/NotifyIcon.Demo.Maui/Platforms/Windows/App.xaml.cs index 509298d..b4e7e65 100644 --- a/NotifyIcon.Demo.Maui/Platforms/Windows/App.xaml.cs +++ b/NotifyIcon.Demo.Maui/Platforms/Windows/App.xaml.cs @@ -27,8 +27,8 @@ public App() Text = "NotifyIcon", Icon = Icon.ExtractAssociatedIcon(Process.GetCurrentProcess().MainModule?.FileName!)!, }; - notifyIcon.AddMenu("MenuItem1", new Bitmap(ResourceHelper.GetStream("MauiApp1.Assets.Images.Lock.png"))); - var toDisableItem = notifyIcon.AddMenu("MenuItem2", new Bitmap(ResourceHelper.GetStream("MauiApp1.Assets.Images.Lock.png"))); + notifyIcon.AddMenu("MenuItem1", new Bitmap(ResourceHelper.GetStream("NotifyIcon.Demo.Maui.Assets.Images.Lock.png"))); + var toDisableItem = notifyIcon.AddMenu("MenuItem2", new Bitmap(ResourceHelper.GetStream("NotifyIcon.Demo.Maui.Assets.Images.Lock.png"))); notifyIcon.AddMenu("-"); notifyIcon.AddMenu("MenuItem3"); notifyIcon.AddMenu("MenuItem4", true); diff --git a/NotifyIcon.Demo.WinUI/NotifyIcon.Demo.WinUI.csproj b/NotifyIcon.Demo.WinUI/NotifyIcon.Demo.WinUI.csproj index 679584f..aba0bbc 100644 --- a/NotifyIcon.Demo.WinUI/NotifyIcon.Demo.WinUI.csproj +++ b/NotifyIcon.Demo.WinUI/NotifyIcon.Demo.WinUI.csproj @@ -7,7 +7,6 @@ 10.0.18362.0 x64;arm64 x64 - WinUIApp1 app.manifest x86;x64;arm64 Properties\PublishProfiles\win10-$(Platform).pubxml