NuGetVersionChecker 1.2.1

dotnet add package NuGetVersionChecker --version 1.2.1                
NuGet\Install-Package NuGetVersionChecker -Version 1.2.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="NuGetVersionChecker" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetVersionChecker --version 1.2.1                
#r "nuget: NuGetVersionChecker, 1.2.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.
// 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

NuGetVersionChecker NuGetVersionChecker License

NuGet Version Checker is a project aims recency of NuGet packges on projects.

NuGetVersionChecker

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

Download on NuGet gallery

.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.

Contributors

Help

Twitter: Enes Okullu @enesokullu

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

v1.2.1
     Removed unused usings.
     See changelog (https://github.com/meokullu/NuGetVersionChecker/blob/master/CHANGELOG.md)