Skip to content

Add ObsoleteAttribute projection.#1712

Open
dongle-the-gadget wants to merge 1 commit intomicrosoft:masterfrom
dongle-the-gadget:obsolete
Open

Add ObsoleteAttribute projection.#1712
dongle-the-gadget wants to merge 1 commit intomicrosoft:masterfrom
dongle-the-gadget:obsolete

Conversation

@dongle-the-gadget
Copy link
Contributor

@dongle-the-gadget dongle-the-gadget commented Aug 8, 2024

If the WinMD specifies DeprecationType.Removal, we still project, but set ObsoleteAttribute to error instead of warning. Information relating to version, contract and platform are irrelevant here since ObsoleteAttribute doesn't request them.

Fixes #1323.

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.

Windows.Foundation.Metadata.DeprecatedAttribute should be projected to System.ObsoleteAttribute

1 participant