Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ClickOnce] Fix BootstrapperBuilder code to correctly return the list of products available in the packages folder #10093

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

sujitnayak
Copy link
Contributor

@sujitnayak sujitnayak commented Apr 30, 2024

Fixes AB#2046752

Context

#9983 introduced a regression in ClickOnce's bootstrapper packages builder code by disposing an XmlReader object while it's still in use.

Changes Made

Fix the bootstrapper builder code that validates package/product XML against a schema file to use the XmlReaderSettings instead of the deprecated XmlValidatingReader class.

Testing

Updated code has been verified against valid and invalid schema file. In addition, the ClickOnce publish with bootstrapper products included has been verified.

Notes

… available in the ClickOnce's bootstrapper packages folder
@rainersigwald rainersigwald enabled auto-merge (squash) April 30, 2024 19:31
@rainersigwald rainersigwald merged commit 4be99f8 into dotnet:main Apr 30, 2024
10 checks passed
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.

3 participants