CodeMade.GithubUpdateChecker
0.1.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CodeMade.GithubUpdateChecker --version 0.1.1
NuGet\Install-Package CodeMade.GithubUpdateChecker -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeMade.GithubUpdateChecker" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeMade.GithubUpdateChecker" Version="0.1.1" />
<PackageReference Include="CodeMade.GithubUpdateChecker" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeMade.GithubUpdateChecker --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeMade.GithubUpdateChecker, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeMade.GithubUpdateChecker@0.1.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeMade.GithubUpdateChecker&version=0.1.1
#tool nuget:?package=CodeMade.GithubUpdateChecker&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Github Update Checker
This is a .net library and a nuget package that allows you to check for release updates on github repositories, and show a notification to the user.
It's meant to be used by applications that target Windows (at least Windows 10), and are distributed via GitHub Releases.
Usage:
var currentVersion = Assembly.GetExecutingAssembly().GetName().Version;
var checker = VersionChecker.Create("myusername", "myrepo", currentVersion, "My App Name");
Task.Run(() => checker.NotifyIfNewVersion());
Some notes about defaults:
- By default, the checker will only notify the user once per day. You can change this by setting the
NotificationFrequencyproperty. - By default, the checker will use a temp file to store the last time it notified the user. You can change this by passing a custom class that implements
INotificationStorageto the constructor ofVersionChecker.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows10.0.17763 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows10.0.17763
- Microsoft.Toolkit.Uwp.Notifications (>= 7.1.3)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.