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
Compiled Bindings: Compilation Error - Object reference not set to an instance of an object #4438
Comments
I have to check, but I think this was resolved in #4352, and the fix will be released as part of the 3.4.0 release |
y, I think that is. reopen if it's not fixed in 3.4.0 |
Can you reopen this issue because it is not a duplicate of #4348.
The Difference between the two are. Count is a Property on a Generic Type. So I guess Compiled Bindings tries to find out the Type of this Property and cannot because it is a TypeParameter Type. Additional Info: I tried it with the Nightly Nuget package 3.5.1006868 and the issue is still there |
fixed in #4483 |
Thanks a lot for the fix. |
Description
When using Compiled Bindings on a Type with a Generic Base Class and Binding on A Property with the Generic Type: A Compilation Error occurs with Object reference not set to an instance of an object.
Steps to Reproduce
Following xaml with Binding to the Generic Property SelectedItem
Expected Behavior
The Binding Works and the Code compiles
Actual Behavior
The Code doesn't Compile, following error occurs:
Object reference not set to an instance of an object
Basic Information
Screenshots
Reproduction Link
App14.zip
Workaround
Override the Property in the ViewModel than it works.
The text was updated successfully, but these errors were encountered: