O'Reilly logo

Pro NuGet by Xavier Decoster, Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Referencing Dependencies

If your NuGet package depends on other NuGet packages, the listing of these dependencies will be generated based on the packages.config file found in your project, if any. External assemblies referenced in your project will also be added to the project manifest based on the files contained in the from the lib folder. These conventions are overridden by adding a <dependencies> element for NuGet package references or a <references> element to add external assembly references.

Specifying Dependencies

The dependencies element is a child element of the metadata element and contains a set of dependency elements. Each dependency element is a reference to another package that this package depends on. When installing a package ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required