NuGetVersionChecker 1.2.1
dotnet add package NuGetVersionChecker --version 1.2.1
NuGet\Install-Package NuGetVersionChecker -Version 1.2.1
<PackageReference Include="NuGetVersionChecker" Version="1.2.1" />
paket add NuGetVersionChecker --version 1.2.1
#r "nuget: NuGetVersionChecker, 1.2.1"
// Install NuGetVersionChecker as a Cake Addin #addin nuget:?package=NuGetVersionChecker&version=1.2.1 // Install NuGetVersionChecker as a Cake Tool #tool nuget:?package=NuGetVersionChecker&version=1.2.1
NuGetVersionChecker
NuGet Version Checker is a project aims recency of NuGet packges on projects.
Description
Since there is no tracking mechanism that notifies users of package without manually checking them, NuGetVersionChecker will allow a way to track packages certain ways on upcoming versions.
How to download
Release: Latest release
.NET CLI:
dotnet add package NuGetVersionChecker
Example Usage
// Path for .csporj file. Return list of `Package` that contains package names, versions and availability to update.
CheckVersionAsync(string path, bool includePrelease = false);
// Path for .csproj file. Returns list of `Package` that contains package name and it version.
GetPackages(string path);
// packageName of the NuGet package. Returns `Package` that contains package name and its version.
GetPackageFromNuGetAsync(string packageName, bool includePrerelease = false);
// packageNameList of the list of NuGet package names. Returns List of `Package` that contains packages name and their versions.
GetPackagesFromNuGetAsync(List<string> packageNameList, bool includePrerelease = false);
Console Application
// Call this method.
NuGetVersionCheck();
internal static void NuGetVersionCheck()
{
string currentDirectory = System.IO.Directory.GetCurrentDirectory();
string startupPath = Directory.GetParent(currentDirectory).Parent.Parent.FullName;
string appName = Assembly.GetExecutingAssembly().GetName().Name;
List<Package> result = CheckVersionAsync($"{startupPath}//{appName}.csproj").GetAwaiter().GetResult();
foreach (Package package in result.Where(p => p.UpdateAvailable))
{
Console.WriteLine($"Update available for: {package}");
// Debug.WriteLine($"Update available for: {package}");
}
}
To check listed methods visit wiki page. NuGetVersionChecker Wiki
Version History
See Changelog
Task list
- Create an issue or check task list: Issues
Licence
This repository is licensed under the "MIT" license. See MIT license.
Authors & Contributing
If you'd like to contribute, then contribute. contributing guide.
Help
Twitter: Enes Okullu @enesokullu
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- NuGet.Protocol (>= 6.10.0)
-
.NETFramework 4.6.1
- NuGet.Protocol (>= 6.10.0)
-
.NETStandard 2.0
- NuGet.Protocol (>= 6.10.0)
-
net6.0
- NuGet.Protocol (>= 6.10.0)
-
net7.0
- NuGet.Protocol (>= 6.10.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.2.1 | 152 | 9/1/2024 | |
1.2.0 | 138 | 7/8/2024 | |
1.1.0 | 103 | 6/24/2024 | |
1.0.0 | 109 | 6/22/2024 | |
1.0.0-rc | 100 | 6/20/2024 | |
1.0.0-beta.2 | 79 | 6/13/2024 | |
1.0.0-beta.1 | 80 | 6/9/2024 | |
1.0.0-beta | 115 | 6/7/2024 |
v1.2.1
Removed unused usings.
See changelog (https://github.com/meokullu/NuGetVersionChecker/blob/master/CHANGELOG.md)