NuGetCalc Project

Powerful tool for NuGet package creators, package users, and all .NET developers.


Solve Your Wonder about the NuGet Package

portable-net40+sl5+wp80+win8+wpa81? portable-net45+wp80+win8+wpa81+aspnetcore50? Which assembly will be added to my project?

Have you ever wondered such a question? NuGetCalc solves your problems.

NuGetCalc is a tool to find the most compatible assembly to your project's framework.

PowerShell Module

A PowerShell module to check available frameworks and find the most compatible assemblies and dependent packages is available.

You can get from GitHub. In addition, a NuGet package to use from the package manager console is available.

Get-ReferenceGroups

PS C:\> Get-ReferenceGroups Newtonsoft.Json -Version 6.0.8
TargetFramework                                             Items
---------------                                             -----
.NETFramework, Version=v2.0                                 {lib/net20/Newtonsoft.Json.dll}
.NETFramework, Version=v3.5                                 {lib/net35/Newtonsoft.Json.dll}
.NETFramework, Version=v4.0                                 {lib/net40/Newtonsoft.Json.dll}
.NETFramework, Version=v4.5                                 {lib/net45/Newtonsoft.Json.dll}
.NETCore, Version=v4.5                                      {lib/netcore45/Newtonsoft.Json.dll}
.NETPortable, Version=v0.0, Profile=Profile328              {lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json....
.NETPortable, Version=v0.0, Profile=net45+wp80+win8+wpa8... {lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtons...

Find-MostCompatibleReferenceGroup

PS C:\> Find-MostCompatibleReferenceGroup Newtonsoft.Json portable-Profile5 -Version 6.0.8
TargetFramework                                             Items
---------------                                             -----
.NETPortable, Version=v0.0, Profile=Profile328              {lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json....

Get-DependencyGroups

PS C:\> Get-DependencyGroups CoreTweet -Version 0.4.2.97 -Source https://ci.appveyor.com/nuget/coretweet-pvq86631pp8l/
TargetFramework                                             Packages
---------------                                             --------
Any, Version=v0.0                                           {Newtonsoft.Json [6.0.8, )}
.NETFramework, Version=v3.5                                 {Newtonsoft.Json [4.5.11, )}

Find-MostCompatibleDependencyGroup

PS C:\> Find-MostCompatibleDependencyGroup CoreTweet net45 -Version 0.4.2.97 -Source https://ci.appveyor.com/nuget/coretweet-pvq86631pp8l/
TargetFramework                                             Packages
---------------                                             --------
.NETFramework, Version=v3.5                                 {Newtonsoft.Json [4.5.11, )}

Download

On Your Web Browser

You can use this useful tool in your web browser, of course even on your smartphone.

Compatibility Search

Package Explorer and Assembly Browser

Try it out