Search code examples
visual-studionugetowin

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?


Solution

  • I have done by a workaround.

    Once I uninstalled Autofac.WebApi2.Owin everything was gone.

    Uninstall-Package Autofac.WebApi2.Owin -RemoveDependencies