-
Notifications
You must be signed in to change notification settings - Fork 115
ClickOnce: improve application manifest file detection - #773
Conversation
...e 0/1 files with a .manifest extension
...correctly parsed so that the existing tests pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be a bug here. The comment asserts that there should only be one dependentAssembly element. However, it seems that there can be multiple.
The
dependencyelement is required. It has no attributes. A deployment manifest can have multipledependencyelements.
This means this change would break users with multiple dependency elements. This method needs smarter application manifest identification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering why you picked XmlDocument instead of XDocument here.
andymozza
commented
Mar 28, 2025
Can confirm this resolved the issue for us with two VSTO applications where manifest signing was failing.
Resolve #681
This PR replaces #758.
CC @clairernovotny, @javierdlg, @jackmtpt