Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall a package by NuGet package console?

I have installed Microsoft Owin via nuget package manager console

PM> Install-Package Microsoft.Owin

Now i want to uninstall the Microsoft.Owin via nuget package manager console

PM> Uninstall-Package Microsoft.Owin

but above line threw a error.

The term 'Uninstall-Package' is not recognized as the name of a cmdlet

Is it pssible to uninstall via nuget console?

like image 522
Ramesh Rajendran Avatar asked Mar 17 '23 17:03

Ramesh Rajendran


1 Answers

You can also use Uninstall‑Package <pkg id> –Force to delete package when something else depends on it.

like image 64
QArea Avatar answered Mar 19 '23 05:03

QArea