Skip to content

Fix CsWinRT component support when source generator gets updated but not CsWinRT version#1818

Merged
manodasanW merged 1 commit into
masterfrom
manodasanw/fixcompat
Oct 10, 2024
Merged

Fix CsWinRT component support when source generator gets updated but not CsWinRT version#1818
manodasanW merged 1 commit into
masterfrom
manodasanw/fixcompat

Conversation

@manodasanW
Copy link
Copy Markdown
Member

It is now possible for there to be scenarios where the source generator is newer but the CsWinRT.exe version is still older due to an older CsWinRT package still being referenced. To handle these scenarios, the source generator should detect this and not generate sources.

…ced but new source generator is used, don't generate the new sources
Comment thread src/Authoring/WinRT.SourceGenerator/Generator.cs
@manodasanW manodasanW merged commit 45a9e87 into master Oct 10, 2024
@manodasanW manodasanW deleted the manodasanw/fixcompat branch October 10, 2024 22:10
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.

2 participants