Skip to content

Commit f825d0c

Browse files
Not sure why icon isn't showing up in NuGet metadata, maybe casing as all examples show lowercase?
Also, add PackageIconUrl back as acceptable to have both for backwards compat
1 parent aa9b07a commit f825d0c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Directory.Build.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup Condition="$(IsPackable)">
15-
<None Include="$(RepositoryDirectory)Icon.png" Pack="true" PackagePath="\" />
15+
<None Include="$(RepositoryDirectory)icon.png" Pack="true" PackagePath="\" />
1616
<None Include="$(RepositoryDirectory)License.md" Pack="true" PackagePath="\" />
1717
<!--<None Include="$(RepositoryDirectory)ThirdPartyNotices.txt" Pack="true" PackagePath="\" />-->
1818
</ItemGroup>

Windows.Toolkit.Common.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
1010
<PackageProjectUrl>https://github.com/CommunityToolkit/Windows</PackageProjectUrl>
1111
<PackageReleaseNotes>https://github.com/CommunityToolkit/Windows/releases</PackageReleaseNotes>
12-
<PackageIcon>Icon.png</PackageIcon>
12+
<PackageIcon>icon.png</PackageIcon>
13+
<PackageIconUrl>https://github.com/CommunityToolkit/Windows/blob/main/icon.png</PackageIconUrl>
1314
<!-- TODO: Remove when closing https://github.com/CommunityToolkit/Labs-Windows/issues/256 -->
1415
<NoWarn>$(NoWarn);NU1505;NU1504</NoWarn>
1516
</PropertyGroup>

Icon.png renamed to icon.png

File renamed without changes.

0 commit comments

Comments
 (0)