Uninstalling Packages

This command uninstalls a NuGet package. If other packages depend on this package, the command will fail unless the –Force option is specified.

Uninstall-Package [-Id] <string> [-RemoveDependencies] [-Force] [-Version <string>]images  [-ProjectName <string>] [<CommonParameters>]

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

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.