On Visual Studio 2015’s new NuGet UI, and finding information about the current version of your packages

Posted: (EET/GMT+2)

 

Visual Studio 2015 contains a greatly updated NuGet user interface, but I think there's one omission that would benefit developers: the current version of any NuGet package you've installed into your project isn't immediately shown.

Although the UI nicely shows you installed packages in your project or solution and also lists those packages that have an update available, there isn't anywhere information about the current version you are using. This information would help you decide whether you want to update or not.

However, there's a little trick: you can get the current version of your package from the UI if there's an update available. To view your current version, click the Update button. This opens up the Preview dialog box, which displays both your package's current version and the one that is the latest. Just hit Cancel there, and you now know your current version, but didn't proceed with the update. Note that this only works when you haven't previously checked the option "Do not show this again" in the Preview dialog box.