Skip to content

Conversation

@manodasanW
Copy link
Member

When the Windows SDK projection package and the CsWinRT package is referenced, the same source generator from both packages get included. But .NET has logic as part of ResolveAssemblyReferences to determine the newer one and only use that. But for some reason this logic wasn't getting triggered in WPF scenarios. Given this issue only occurs when the CsWinRT package is referenced, making use of our targets to ensure ResolveAssemblyReferences has ran by the time CoreCompile runs to ensure the deduplication has happened.

@manodasanW manodasanW merged commit 34d8d54 into master Sep 5, 2024
@manodasanW manodasanW deleted the manodasanw/fixsourcegeneratorconflict branch September 5, 2024 08:15
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