-
Notifications
You must be signed in to change notification settings - Fork 1.4k
.NET 5 support for Notifications package #3622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
644005e
Works with .NET 5
andrewleader 6f9566d
Merge branch 'master' into aleader/notifications-net-5
andrewleader c6f3878
Merge branch 'master' into aleader/notifications-net-5
andrewleader 186d154
Keep UWP min version at 10240
andrewleader 5f17993
Merge branch 'aleader/notifications-net-5' of https://github.com/wind…
andrewleader a4eff63
Merge branch 'master' into aleader/notifications-net-5
andrewleader 9dd9fd5
Undo accidentally committed change
andrewleader 72205c9
Merge branch 'master' into aleader/notifications-net-5
azchohfi 3920ebc
Aleader/notifications net 5 and native (#3644)
andrewleader ad7be92
Support for UWP 10240
andrewleader b454de1
Interop working on all but UWP 15063 and lower
andrewleader 056e0be
Fix warnings
andrewleader 4794810
Merge branch 'master' into aleader/notifications-net-5
andrewleader bbf295f
Merge branch 'master' into aleader/notifications-net-5
andrewleader d407488
Support activating when process is elevated
andrewleader c23b5df
Fix warnings
andrewleader 4277b49
Merge branch 'master' into aleader/notifications-net-5
michael-hawker d1518bd
Nuspec updates
andrewleader File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"> | ||
<metadata> | ||
<id>Microsoft.Toolkit.Uwp.Notifications</id> | ||
<version>$version$</version> | ||
<title>Windows Community Toolkit Notifications</title> | ||
<authors>Microsoft.Toolkit</authors> | ||
<owners></owners> | ||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
<licenseUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/license.md</licenseUrl> | ||
<projectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</projectUrl> | ||
<iconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</iconUrl> | ||
<description>The official way to send toast notifications on Windows 10 via code rather than XML, with the help of IntelliSense. Supported by all C# app types, including WPF, UWP, WinForms, and Console, even without packaging your app as MSIX. Also supported by 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. | ||
|
||
For UWP/MSIX apps, you can also generate tile and badge notifications.</description> | ||
<releaseNotes>https://github.com/windows-toolkit/WindowsCommunityToolkit/releases</releaseNotes> | ||
<copyright>(c) .NET Foundation and Contributors. All rights reserved.</copyright> | ||
<tags>notifications win10 windows 10 tile tiles toast toasts badge xml uwp c# csharp c++ wpf winforms</tags> | ||
<repository type="git" url="https://github.com/windows-toolkit/WindowsCommunityToolkit.git" commit="72205c9add7c3fc1ed63bb77e6fc101e39f1ac33" /> | ||
<dependencies> | ||
<group targetFramework=".NETStandard1.4"> | ||
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" /> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="UAP10.0.16299"> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework=".NETCoreApp3.1"> | ||
<dependency id="Microsoft.Win32.Registry" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Windows.SDK.Contracts" version="10.0.19041.1" exclude="Build,Analyzers" /> | ||
<dependency id="System.Drawing.Common" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="System.Reflection.Emit" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="net5.0"> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="net5.0-windows10.0.17763"> | ||
<dependency id="Microsoft.Win32.Registry" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="System.Drawing.Common" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="System.Reflection.Emit" version="4.7.0" exclude="Build,Analyzers" /> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework=".NETFramework4.6.1"> | ||
<dependency id="Microsoft.NETFramework.ReferenceAssemblies" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Windows.SDK.Contracts" version="10.0.19041.1" exclude="Build,Analyzers" /> | ||
<dependency id="System.ValueTuple" version="4.5.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="native0.0" /> | ||
<group targetFramework="UAP10.0.10240" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="Microsoft.Toolkit.Uwp.Notifications.targets" target="build\native\Microsoft.Toolkit.Uwp.Notifications.targets" /> | ||
<file src="$buildOutput$\net461\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\net461\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\net461\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\net461\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\net461\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\net461\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\net5.0\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\net5.0\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\net5.0\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\net5.0\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\net5.0\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\net5.0\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\net5.0-windows10.0.17763.0\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\net5.0-windows10.0.17763\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\net5.0-windows10.0.17763.0\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\net5.0-windows10.0.17763\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\net5.0-windows10.0.17763.0\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\net5.0-windows10.0.17763\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\netcoreapp3.1\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\netstandard1.4\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\uap10.0.19041\Microsoft.Toolkit.Uwp.Notifications.dll" target="lib\uap10.0.16299\Microsoft.Toolkit.Uwp.Notifications.dll" /> | ||
<file src="$buildOutput$\uap10.0.19041\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\uap10.0.16299\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\uap10.0.19041\Microsoft.Toolkit.Uwp.Notifications.pri" target="lib\uap10.0.16299\Microsoft.Toolkit.Uwp.Notifications.pri" /> | ||
<file src="$buildOutput$\uap10.0.19041\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\uap10.0.16299\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\native\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.pri" target="lib\native\Microsoft.Toolkit.Uwp.Notifications.pri" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.winmd" target="lib\native\Microsoft.Toolkit.Uwp.Notifications.winmd" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\native\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.pdb" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.pdb" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.pri" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.pri" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.winmd" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.winmd" /> | ||
<file src="$buildOutput$\native\Microsoft.Toolkit.Uwp.Notifications.xml" target="lib\uap10.0.10240\Microsoft.Toolkit.Uwp.Notifications.xml" /> | ||
</files> | ||
</package> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.