Skip to content

Restore IMsRdpClientAdvancedSettingsLB for legacy interop consumers#175

Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
restore-legacy-loadbalanceinfo
Jul 24, 2026
Merged

Restore IMsRdpClientAdvancedSettingsLB for legacy interop consumers#175
Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
restore-legacy-loadbalanceinfo

Conversation

@irvingoujAtDevolution

Copy link
Copy Markdown
Contributor

#173 removed this hand-written declaration along with the rest of the manual interop surface — the generated interop types LoadBalanceInfo as BinaryString and no longer needs it. But legacy-interop consumers on the current package lose their only way to set a byte-exact LoadBalanceInfo.

Restored verbatim from 2026.7.3, relocated into AxInterop.MSTSCLib.Legacy so it ships in the legacy interop assembly and Devolutions.MsRdpEx stays MSTSCLib-free.

Context: lets RDM bump to the current package (recording-cursor fix, #174) while staying on the legacy interop, without carrying this declaration itself. Verified against RDM: builds clean, LoadBalanceInfo path unchanged.

#173 removed this hand-written declaration together with the rest of the
manual interop surface, because the generated interop types LoadBalanceInfo
as BinaryString and no longer needs it. Legacy-interop consumers moving to
the current package still do: without it there is no way to set a
byte-exact LoadBalanceInfo through the legacy string-typed property.

Restored verbatim from 2026.7.3 (dotnet/Devolutions.MsRdpEx/LoadBalanceInfo.cs),
relocated into AxInterop.MSTSCLib.Legacy so it ships in the legacy interop
assembly and the flavor-neutral Devolutions.MsRdpEx stays MSTSCLib-free.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Restores byte-exact LoadBalanceInfo access for legacy COM interop consumers.

Changes:

  • Reintroduces IMsRdpClientAdvancedSettingsLB.
  • Places the declaration in the legacy AxInterop assembly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit 24a0ba2 into master Jul 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants