Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4fe4ef3
chore(deps): Bump the all group with 2 updates
dependabot[bot] Dec 2, 2024
17d4df8
Merge pull request #181 from HavenDV/dependabot/nuget/all-f0039fce86
github-actions[bot] Dec 2, 2024
93f3a3b
fix: Test
HavenDV Dec 6, 2024
8773b98
feat: Updated to net9
HavenDV Dec 6, 2024
374839b
chore(deps): Bump the all group with 4 updates
dependabot[bot] Dec 9, 2024
23fb65f
Merge pull request #183 from HavenDV/dependabot/nuget/all-bbf57b62ec
github-actions[bot] Dec 9, 2024
b69e19d
chore(deps): Bump CommunityToolkit.Mvvm in the all group
dependabot[bot] Dec 16, 2024
5a08e41
Merge pull request #184 from HavenDV/dependabot/nuget/all-62d0418c54
github-actions[bot] Dec 16, 2024
62f19b4
docs: Updated README.
HavenDV Dec 16, 2024
9b7f36b
chore(deps): Bump the all group with 3 updates
dependabot[bot] Dec 23, 2024
fd2185e
Merge pull request #185 from HavenDV/dependabot/nuget/all-c5e18f6341
github-actions[bot] Dec 23, 2024
c0bfc0b
chore(deps): Bump DependencyPropertyGenerator in the all group
dependabot[bot] Jan 13, 2025
dfd6127
Merge pull request #190 from HavenDV/dependabot/nuget/all-c7a197c807
github-actions[bot] Jan 13, 2025
3ae2c92
chore(deps): Bump the all group with 11 updates
dependabot[bot] Jan 20, 2025
52bed99
Merge pull request #193 from HavenDV/dependabot/nuget/all-1df2026aab
github-actions[bot] Jan 20, 2025
4983718
chore(deps): Bump the all group with 4 updates
dependabot[bot] Jan 27, 2025
501842a
Merge pull request #194 from HavenDV/dependabot/nuget/all-dbbf0a26a7
github-actions[bot] Jan 27, 2025
3092b9a
chore(deps): Bump the all group with 3 updates
dependabot[bot] Feb 3, 2025
c141b5f
Merge pull request #197 from HavenDV/dependabot/nuget/all-a619d33817
github-actions[bot] Feb 3, 2025
debc982
Update H.NotifyIcon library for compatibility and performance
HavenDV Mar 1, 2025
9a5e0ab
fix: Fixed #186
HavenDV Mar 1, 2025
56bf1f3
chore(deps): Bump the all group with 2 updates
dependabot[bot] Mar 24, 2025
7cb0bca
Merge pull request #201 from HavenDV/dependabot/nuget/all-f78b7e0791
github-actions[bot] Mar 24, 2025
8aedda2
feat: Use altform-unplated and altform-lightunplated resource qualifi…
bricelam Apr 24, 2025
6d5db30
feat: Make PngToIcoConverter public.
HavenDV Jun 28, 2025
345b8cf
feat: Make ImageExtensions public.
HavenDV Jun 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '9.0.x'

- name: Install workloads
run: dotnet workload install maui
Expand Down
376 changes: 0 additions & 376 deletions H.NotifyIcon.sln

This file was deleted.

160 changes: 160 additions & 0 deletions H.NotifyIcon.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<Solution>
<Configurations>
<Platform Name="Any CPU" />
<Platform Name="arm64" />
<Platform Name="x64" />
<Platform Name="x86" />
</Configurations>
<Folder Name="/apps/">
<Project Path="src\apps\H.NotifyIcon.Apps.Console\H.NotifyIcon.Apps.Console.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\apps\H.NotifyIcon.Apps.Maui\H.NotifyIcon.Apps.Maui.csproj">
<Configuration Solution="Debug|Any CPU" Project="Debug|Any CPU|Deploy" />
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\apps\H.NotifyIcon.Apps.WinUI.Windowless\H.NotifyIcon.Apps.WinUI.Windowless.csproj">
<Configuration Solution="Debug|Any CPU" Project="Debug|x64|Deploy" />
<Configuration Solution="Debug|arm64" Project="Debug|arm64|Deploy" />
<Configuration Solution="Debug|x64" Project="Debug|x64|Deploy" />
<Configuration Solution="Debug|x86" Project="Debug|x86|Deploy" />
<Configuration Solution="Release|Any CPU" Project="Release|x64|Deploy" />
<Configuration Solution="Release|arm64" Project="Release|arm64|Deploy" />
<Configuration Solution="Release|x64" Project="Release|x64|Deploy" />
<Configuration Solution="Release|x86" Project="Release|x86|Deploy" />
</Project>
<Project Path="src\apps\H.NotifyIcon.Apps.WinUI\H.NotifyIcon.Apps.WinUI.csproj">
<Configuration Solution="Debug|Any CPU" Project="Debug|x64|Deploy" />
<Configuration Solution="Debug|arm64" Project="Debug|arm64|Deploy" />
<Configuration Solution="Debug|x64" Project="Debug|x64|Deploy" />
<Configuration Solution="Debug|x86" Project="Debug|x86|Deploy" />
<Configuration Solution="Release|Any CPU" Project="Release|x64|Deploy" />
<Configuration Solution="Release|arm64" Project="Release|arm64|Deploy" />
<Configuration Solution="Release|x64" Project="Release|x64|Deploy" />
<Configuration Solution="Release|x86" Project="Release|x86|Deploy" />
</Project>
<Project Path="src\apps\H.NotifyIcon.Apps.Wpf.Windowless\H.NotifyIcon.Apps.Wpf.Windowless.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\apps\H.NotifyIcon.Apps.Wpf\H.NotifyIcon.Apps.Wpf.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\apps\TrimmingHelper\TrimmingHelper.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<File Path="src\apps\Directory.Build.props" />
</Folder>
<Folder Name="/libs/">
<Project Path="src\libs\H.GeneratedIcons.SkiaSharp\H.GeneratedIcons.SkiaSharp.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.GeneratedIcons.System.Drawing\H.GeneratedIcons.System.Drawing.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon.Maui\H.NotifyIcon.Maui.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon.Uno.WinUI\H.NotifyIcon.Uno.WinUI.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon.Uno\H.NotifyIcon.Uno.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon.WinUI\H.NotifyIcon.WinUI.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon.Wpf\H.NotifyIcon.Wpf.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<Project Path="src\libs\H.NotifyIcon\H.NotifyIcon.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
<File Path="src\libs\Directory.Build.props" />
<File Path="src\libs\Directory.Build.targets" />
</Folder>
<Folder Name="/Solution Items/">
<File Path=".gitignore" />
<File Path=".github\ISSUE_TEMPLATE\bug-report.yaml" />
<File Path="src\Directory.Build.props" />
<File Path=".github\workflows\dotnet.yml" />
<File Path="LICENSE.md" />
<File Path=".github\workflows\pr.yml" />
<File Path="README.md" />
<File Path=".github\workflows\auto-merge.yml" />
</Folder>
<Folder Name="/tests/">
<Project Path="src\tests\H.NotifyIcon.IntegrationTests\H.NotifyIcon.IntegrationTests.csproj">
<Configuration Solution="Debug|arm64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
<Configuration Solution="Release|arm64" Project="Release|Any CPU" />
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
</Project>
</Folder>
</Solution>
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This is an implementation of a NotifyIcon (aka system tray icon or taskbar icon)
* [Design-time access](broken-reference)
* [Efficiency Mode](broken-reference)
* [Dynamic icon generation](broken-reference)
* Trimming/NativeAOT support

#### NuGet

Expand Down
54 changes: 27 additions & 27 deletions src/apps/H.NotifyIcon.Apps.Console/H.NotifyIcon.Apps.Console.csproj
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net4.8;net8.0-windows</TargetFrameworks>
<OutputType>Exe</OutputType>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<ItemGroup>
<Using Remove="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
<PackageReference Include="H.Resources.Generator" Version="1.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\libs\H.NotifyIcon\H.NotifyIcon.csproj" />
</ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net4.8;net9.0-windows</TargetFrameworks>
<OutputType>Exe</OutputType>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>

<ItemGroup>
<Using Remove="System.Net.Http" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="9.0.1" />
<PackageReference Include="H.Resources.Generator" Version="1.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\libs\H.NotifyIcon\H.NotifyIcon.csproj" />
</ItemGroup>

</Project>
7 changes: 5 additions & 2 deletions src/apps/H.NotifyIcon.Apps.Maui/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ public partial class App : Application
public App()
{
InitializeComponent();

MainPage = new AppShell();
}

protected override Window CreateWindow(IActivationState? activationState)
{
return new Window(new AppShell());
}
}
Loading