BT

Your opinion matters! Please fill in the InfoQ Survey!

NuGet Gets Faster, Configuration Defaults, Concierge

| by Roopesh Shenoy Follow 0 Followers on Aug 29, 2013. Estimated reading time: 1 minute |

NuGet 2.7 release was announced this week, with several performance improvements, new extensibility APIs, command-line restore, configuration defaults and several other features.

The new version has a smaller memory footprint, less disk usage and faster package installation. Queries to OData-based feeds are also smarter, reducing the overall payload.

Following are some of the other improvements -

  • New Extensibility APIs – IVsPackageInstallerServices and IVsPackageInstaller get couple of new methods each
  • Configuration Defaults – machine-wide defaults can now be set for package sources related settings; this is mainly meant to help companies using internal package sources
  • Simplified Package restore from command line – this can now allow you to easily integrate package restore into your build process; there is already a walkthrough for this with TFS
  • Development-only dependencies – allows package authors to declare dependencies that were only used at development time and don’t require package dependenices

One minor but useful change is that Package Restore consent is now on by default; and there is no need to turn on package restore at solution level. This combined with command-line restore means that developers can now exclude referenced binaries from source control altogether.

Along with these features, the release sees almost a 100 bug fixes. However it also seems to break restore of packages having a leading zero in their version numbers, along with a couple of other known issues.

You can view the release notes for the full list of changes.

NuGet Concierge is a separate service announced by Microsoft yesterday. It allows you to upload your nuget package config file and then recommends other nuget packages that are frequently used with packages used by your project. Currently the service seems to have limited data, but is meant to improve over time.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT