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

Installing Microsoft.Windows.SDK.Win32Metadata causes Microsoft.Windows.Sdk namespace to disappear. #289

Closed
MikeYeager opened this issue Jun 8, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@MikeYeager
Copy link

I was notified that issue #384 was closed via #435 (an update to Microsoft.Windows.SDK.Metadata in v10.0.19041.166-preview), but when I install that NuGet package, the Microsoft.Windows.Sdk namespace disappears. The documentation suggests I should install this package in order to get the latest metadata.

_Newer metadata
To update the metadata used as the source for code generation, you may install a newer 
Microsoft.Windows.SDK.Win32Metadata package:

dotnet add package Microsoft.Windows.SDK.Win32Metadata -pre_

Expected behavior

Expect that adding the Microsoft.Windows.SDK.Metadata package would give me the latest metadata without breaking the project.

Repro steps

Context

  • CsWin32 version: 0.1.422-beta
  • Win32Metadata version (if explicitly set by project): 0.0.19041.166-preview
  • Target Framework: .NET 5
  • LangVersion (if explicitly set by project): n/a

Do I need to wait for an update to CsWin32?
Thank You,
Mike

@MikeYeager MikeYeager added the bug Something isn't working label Jun 8, 2021
@jnm2
Copy link
Contributor

jnm2 commented Jun 8, 2021

Perhaps #274 covers this?

@AArnott
Copy link
Member

AArnott commented Jun 9, 2021

Duplicate of #131: updating to metadata that the CsWin32 generator has not been tested with is unsupported, and likely to fail while the metadata is significantly changing.

@AArnott AArnott closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants