Skip to content

NuGet/VSIX: propagate SignAsync(...) failures#840

Merged
dtivel merged 1 commit intomainfrom
dtivel/fix-exit-code
Mar 31, 2025
Merged

NuGet/VSIX: propagate SignAsync(...) failures#840
dtivel merged 1 commit intomainfrom
dtivel/fix-exit-code

Conversation

@dtivel
Copy link
Collaborator

@dtivel dtivel commented Mar 29, 2025

Resolve #798.

This change updates ClickOnceSigner, NuGetSigner, and VsixSigner to all throw a SigningException when signing fails. Previously, some failures were not observed, so Sign CLI's exit code was 0. With this change, these failures propagate up with a non-zero exit code.

@dtivel dtivel requested a review from a team as a code owner March 29, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NuGetSigner ignores SignAsync return value

3 participants