Skip to content

Conversation

@dongle-the-gadget
Copy link
Contributor

Fixes #1852.

Though we probably should be differentiating WinRT attributes and exclude non-WinRT attributes directly rather than hardcoding specific names like this.

@hez2010
Copy link
Contributor

hez2010 commented Oct 29, 2024

I think we should map System.Runtime.InteropServices.GuidAttribute to Windows.Foundation.Metadata.GuidAttribute instead of dropping it.

@dongle-the-gadget
Copy link
Contributor Author

We already did in another PR, however that one didn't strip away the System GuidAttribute from the WinMD, causing us to generate an invalid WinMD.

@manodasanW
Copy link
Member

CI passed, thanks for this fix.

@manodasanW manodasanW merged commit 93482af into microsoft:master Nov 9, 2024
@dongle-the-gadget dongle-the-gadget deleted the guid-fix branch November 9, 2024 04:27
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.

Bug: Usage of System.Runtime.InteropServices.GuidAttribute in WinMD

3 participants