Skip to content

Commit 2c88fd3

Browse files
Merge pull request #3777 from michael-hawker/nuget-update
Update license and icon based on @Kyaa-dost's investigation
2 parents 6ba1e44 + a4bb8f9 commit 2c88fd3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Directory.Build.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
66
<NoPackageAnalysis>true</NoPackageAnalysis>
77
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</PackageIconUrl>
8+
<PackageIcon>images\nuget.png</PackageIcon>
89
<PackageProjectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</PackageProjectUrl>
9-
<PackageLicenseUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/license.md</PackageLicenseUrl>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1011
<PackageReleaseNotes>https://github.com/windows-toolkit/WindowsCommunityToolkit/releases</PackageReleaseNotes>
1112
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
1213
<DefaultLanguage>en-US</DefaultLanguage>
@@ -102,6 +103,8 @@
102103
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json">
103104
<Link>stylecop.json</Link>
104105
</AdditionalFiles>
106+
<None Include="$(MSBuildThisFileDirectory)license.md" Pack="true" PackagePath="\"/>
107+
<None Include="$(MSBuildThisFileDirectory)build\nuget.png" Pack="true" PackagePath="images\"/>
105108
</ItemGroup>
106109

107110
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.VisualStudio.Design.props" Condition="'$(IsDesignProject)' == 'true'"/>

Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
<title>Windows Community Toolkit Notifications</title>
77
<authors>Microsoft.Toolkit,dotnetfoundation</authors>
88
<requireLicenseAcceptance>true</requireLicenseAcceptance>
9-
<licenseUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/license.md</licenseUrl>
9+
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</projectUrl>
1111
<iconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</iconUrl>
12+
<icon>images\nuget.png</icon>
1213
<description>The official way to send toast notifications on Windows 10 via code rather than XML, with the help of IntelliSense. Supports all C# app types, including WPF, UWP, WinForms, and Console, even without packaging your app as MSIX. Also supports C++ UWP apps.
1314

1415
Additionally, generate notification payloads from your ASP.NET web server to send as push notifications, or generate notification payloads from class libraries.
@@ -52,6 +53,8 @@
5253
</dependencies>
5354
</metadata>
5455
<files>
56+
<file src="..\build\nuget.png" target="images\" />
57+
<file src="..\license.md" target="" />
5558
<file src="Microsoft.Toolkit.Uwp.Notifications.targets" target="build\native\Microsoft.Toolkit.Uwp.Notifications.targets" />
5659
<file src="$buildOutput$\net461\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\net461\Microsoft.Toolkit.Uwp.Notifications.dll" />
5760
<file src="$buildOutput$\net461\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\net461\Microsoft.Toolkit.Uwp.Notifications.pdb" />
@@ -81,4 +84,4 @@
8184
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.winmd" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.winmd" />
8285
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.xml" />
8386
</files>
84-
</package>
87+
</package>

0 commit comments

Comments
 (0)