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

Delete generated files before regenerating projection. #1348

Merged

Conversation

jlaanstra
Copy link
Collaborator

@jlaanstra jlaanstra commented Aug 24, 2023

CsWinRT generates one .cs file per namespace. Once you remove a namespace CsWinRT doesn't remove the file for that namespace but still includes it since it was previously generated.

This change explicitly removes all generated files before generating a new projection.

Fixes #1189

@jlaanstra jlaanstra force-pushed the user/jlaans/handle-removed-namespaces branch 3 times, most recently from b1a3c72 to 68e9f2a Compare August 25, 2023 03:02
@jlaanstra jlaanstra force-pushed the user/jlaans/handle-removed-namespaces branch from 68e9f2a to 320caa3 Compare August 25, 2023 03:06
@manodasanW manodasanW merged commit c52fafa into microsoft:master Aug 25, 2023
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.

CsWinRT doesn't handle removed namespaces or project references.
2 participants