You can do that by providing an uninstall.ps1
script. See the documentation for further details.
Providing Uninstall option in custom NuGet packages
-
04-04-2022 - |
题
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
解决方案
不隶属于 StackOverflow