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

Generated code not compiling with latest win32metadata #131

Closed
zgabi opened this issue Feb 18, 2021 · 2 comments
Closed

Generated code not compiling with latest win32metadata #131

zgabi opened this issue Feb 18, 2021 · 2 comments

Comments

@zgabi
Copy link

zgabi commented Feb 18, 2021

Compile error:
Error CS0214 Pointers and fixed size buffers may only be used in an unsafe context
project\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\PWSTR.cs

Microsoft.Windows.SDK.Win32Metadata Version: 10.0.19041.5-preview.20

@AArnott
Copy link
Member

AArnott commented Feb 19, 2021

Duplicate of #121

@AArnott AArnott marked this as a duplicate of #121 Feb 19, 2021
@AArnott AArnott closed this as completed Feb 19, 2021
@AArnott
Copy link
Member

AArnott commented Feb 19, 2021

FYI: in general we want you to be able to update metadata independently of the source generator, but the metadata is not stable yet and most updates require compensating changes to the projections to work.

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

No branches or pull requests

2 participants