[PR #49] Don't remove entries on upgrade #203

Open
opened 2026-01-29 16:31:13 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/49

State: closed
Merged: Yes


We will remove entries with RemoveOnUninstall via a preun script. This script also runs when the package is being upgraded.

Mark this script with a condition $1 -eq 0 to detect package uninstall rather than upgrade.

**Original Pull Request:** https://github.com/quamotion/dotnet-packaging/pull/49 **State:** closed **Merged:** Yes --- We will remove entries with `RemoveOnUninstall` via a `preun` script. This script also runs when the package is being upgraded. Mark this script with a condition `$1 -eq 0` to detect package uninstall rather than upgrade.
claunia added the pull-request label 2026-01-29 16:31:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#203