Skip to content

Commit 257ab7a

Browse files
JusterZhuclaude
andcommitted
feat: add PackageIcon and PackageReadmeFile for NuGet packaging
- Copy GeneralUpdate128.png to imgs/ - Add <PackageIcon> and <PackageReadmeFile> to csproj - Add <None> Include to pack icon into NuGet package Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1bf1ac0 commit 257ab7a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

imgs/GeneralUpdate128.png

19.1 KB
Loading

src/GeneralUpdate.Maui.Android/GeneralUpdate.Maui.Android.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@
88
<Authors>GeneralLibrary</Authors>
99
<Description>GeneralUpdate.Maui.Android is a UI-less Android auto-update core component for .NET MAUI.</Description>
1010
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
11+
<PackageIcon>GeneralUpdate128.png</PackageIcon>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
1113
</PropertyGroup>
1214

15+
<ItemGroup>
16+
<None Include="../../imgs/GeneralUpdate128.png">
17+
<Pack>True</Pack>
18+
<PackagePath>\</PackagePath>
19+
</None>
20+
</ItemGroup>
21+
1322
<ItemGroup>
1423
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
1524
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" />

0 commit comments

Comments
 (0)