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

Don't emit default ctor for non activatable types #1817

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

Sergio0694
Copy link
Member

This PR fixes the .winmd generation logic to avoid the default constructor for types that do have some non public constructor that takes any parameters. This bug is blocking the migration of one of our WinRT component projects in the Microsoft Store.

@Sergio0694 Sergio0694 added bug Something isn't working authoring Related to authoring feature work labels Oct 10, 2024
@Sergio0694
Copy link
Member Author

Checked the .winmd manually, looks just fine:

image

@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/fix-non-activatable-types branch 2 times, most recently from 962bf12 to e64282f Compare October 10, 2024 19:48
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/fix-non-activatable-types branch from e64282f to fbdcb9f Compare October 10, 2024 22:20
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/fix-non-activatable-types branch from fbdcb9f to 67832b5 Compare October 10, 2024 23:51
@manodasanW manodasanW merged commit 8482124 into master Oct 11, 2024
10 checks passed
@manodasanW manodasanW deleted the user/sergiopedri/fix-non-activatable-types branch October 11, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Related to authoring feature work bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants