Search code examples
c#nugetnuget-packagenuget-server

Providing Uninstall option in custom NuGet packages


When creating custom NuGet packages, how do we provide the option for uninstalling a NuGet package, which removes the references/ static files which came as part of the package.

Thanks in Advance


Solution

  • You can do that by providing an uninstall.ps1 script. See the documentation for further details.