Skip to content

Commit

Permalink
update: unused RootNamespace in demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jul 22, 2024
1 parent 50d0313 commit 13919db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion NotifyIcon.Demo.Maui/NotifyIcon.Demo.Maui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<TargetFrameworks>net8.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>MauiApp1</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
4 changes: 2 additions & 2 deletions NotifyIcon.Demo.Maui/Platforms/Windows/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion NotifyIcon.Demo.WinUI/NotifyIcon.Demo.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
<Platforms>x64;arm64</Platforms>
<PlatformTarget>x64</PlatformTarget>
<RootNamespace>WinUIApp1</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;arm64</Platforms>
<PublishProfile>Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
Expand Down

0 comments on commit 13919db

Please sign in to comment.