Installing Packages

This command installs a NuGet package and, by default, also its dependencies into the target project:

Install-Package [-Id] <string> [-IgnoreDependencies] [-ProjectName <string>] [[-Version]images  <string>] [[-Source] <string>] [-IncludePrerelease] [<CommonParameters>]

Available parameters for this command are shown in Table C-4.

images

Get Pro NuGet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.