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

Set WindowsSdkPackageVersion to older value #4860

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Oct 9, 2024

Change

Set the WindowsSdkPackageVersion to an older, working for us version. This fixes an issue that was occurring with the latest SDK.

Also:

  • defines our own CoCreateInstance PInvoke in Microsoft.Management.Deployment.Projection rather than relying on the on provided by CsWinRT (which was no longer compiling after the update).
  • Adds partial to a number of classes that will need it when we eventually do move to a newer CsWinRT

Future maintainer note: Set CsWinRTCcwLookupTableGeneratorEnabled to false to prevent needing to pull in WinRT.Runtime before we have our assembly resolver set up yet.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner October 9, 2024 21:11
yao-msft
yao-msft previously approved these changes Oct 9, 2024
@JohnMcPMS JohnMcPMS changed the title Update CsWinRT to latest version Set WindowsSdkPackageVersion to older value Oct 10, 2024
@JohnMcPMS JohnMcPMS merged commit 01eae6e into microsoft:master Oct 10, 2024
9 checks passed
@JohnMcPMS JohnMcPMS deleted the update-cswinrt branch October 10, 2024 20:53
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