From a2c2c922737de42f2cb62b074773b4f91f5727e7 Mon Sep 17 00:00:00 2001 From: Nirmal Guru Date: Fri, 18 Jun 2021 02:10:19 +0530 Subject: [PATCH] Rename Package Icon file only when packing Every "official" .NET packages use 'Icon' as its file name. Since, the icon file itself is public and older packages refer them by URL, we only change the file name during packaging which would be in the package. --- .../Microsoft.Toolkit.Uwp.Notifications.nuspec | 4 ++-- build/Windows.Toolkit.Common.props | 2 +- build/Windows.Toolkit.Common.targets | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec b/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec index 814608f9f46..22a597a87df 100644 --- a/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec +++ b/Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec @@ -8,7 +8,7 @@ MIT https://github.com/CommunityToolkit/WindowsCommunityToolkit https://raw.githubusercontent.com/CommunityToolkit/WindowsCommunityToolkit/main/build/nuget.png - images\nuget.png + Icon.png 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. Additionally, generate notification payloads from your ASP.NET web server to send as push notifications, or generate notification payloads from class libraries. @@ -52,7 +52,7 @@ - + diff --git a/build/Windows.Toolkit.Common.props b/build/Windows.Toolkit.Common.props index 28919305d7b..29fb8f9015a 100644 --- a/build/Windows.Toolkit.Common.props +++ b/build/Windows.Toolkit.Common.props @@ -10,7 +10,7 @@ (c) .NET Foundation and Contributors. All rights reserved. https://github.com/CommunityToolkit/WindowsCommunityToolkit https://github.com/CommunityToolkit/WindowsCommunityToolkit/releases - nuget.png + Icon.png https://raw.githubusercontent.com/CommunityToolkit/WindowsCommunityToolkit/master/build/nuget.png diff --git a/build/Windows.Toolkit.Common.targets b/build/Windows.Toolkit.Common.targets index 74e2dfcfd68..b73fa48f26a 100644 --- a/build/Windows.Toolkit.Common.targets +++ b/build/Windows.Toolkit.Common.targets @@ -13,7 +13,7 @@ - +