-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[BindingSG] Added Binding.Create support for xaml generated sources #27610
base: main
Are you sure you want to change the base?
[BindingSG] Added Binding.Create support for xaml generated sources #27610
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
83e2116
to
ae7daff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems it needs rebase
567d15e
to
c5f1d8f
Compare
we need a way of declaring dependencies for sourcegens |
Description of Change
Binding source generator encounters problems when interacting with
XamlG
. During generation of bindings we dont see the outcome ofXamlG
, which then results in Roslyn being unable to return correct symbol.We had a workaround for that for
.SetBinding
method. This PR brings the same workaround to theBindings.Create
method. It also adds some integration tests for both scenariosIssues Fixed
Fixes #26616