Skip to content

Tweak XDAUpgradeValidation to use assembly bindings generated at build time - #747

Merged
StephenCWills merged 1 commit into
masterfrom
XDA-112
Sep 22, 2026
Merged

StephenCWills merged 1 commit into
masterfrom
XDA-112

Conversation

@StephenCWills

Copy link
Copy Markdown
Member

The new component in the installer deploys a "default config" by the name of openXDA.exe.config.default. This can be used to observe default settings, but it is now also used by XDAUpgradeValidation to replace the assemblyBinding section in the persistent config file with a fresh copy that comes from the default config. Effectively, this serves to preserve all config file settings from the prior installation on upgrade except for the assembly bindings which often needs to be upgraded for the new version to function.

If the old assembly bindings section needs to be referenced for any reason, it is preserved in the openXDA.exe.config.prev file.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The default configuration may lack bindings and erase working redirects during upgrades; generation or safe failure handling is needed.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Updates upgrade validation to preserve existing settings while refreshing assembly bindings from a deployed default configuration.

Changes:

  • Deploys openXDA.exe.config.default.
  • Refreshes assembly bindings during upgrades.
  • Preserves the previous configuration as .prev.
File Summary
Source/​Tools/​XDAUpgradeValidation/​Program.cs Applies default assembly bindings during upgrades.
Source/​Applications/​openXDA/​openXDASetup/​openXDASetup.wxs Packages the default configuration file.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Source/Tools/XDAUpgradeValidation/Program.cs
@StephenCWills
StephenCWills merged commit 2a7151b into master Sep 22, 2026
3 of 4 checks passed
@StephenCWills
StephenCWills deleted the XDA-112 branch September 22, 2026 18:36
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