You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to 8.0.2 throws System.ReferenceNullException on use of CreateBindingSet and call bind
Note:- We have migrated from .Net5 to .Net6
Old (and correct) behavior
App starts up normally
Current behavior
Throws System.ReferenceNullException "Object reference not set to an instance of object" for setting bind after CreatBindingSet()
Reproduction steps
Create binding set and call bind.
Stack Trace
at MvvmCross.Binding.BindingContext.MvxBaseFluentBindingDescription1.TargetPropertyName(Expression1 targetPropertyPath)
at MvvmCross.Binding.BindingContext.MvxFluentBindingDescription2.For(Expression1 targetPropertyPath)
at DNA.Scheduler.WinUI.Gantt.GanttView..ctor() in D:\Naveen\Source\Repos\DNA.Central\DNA.Scheduler\DNA.Scheduler.WinUI\Gantt\GanttView.xaml.cs:line 31
Configuration
Version: 6.x
Platform:
馃摫 iOS
馃 Android
馃弫 WPF
馃寧 UWP
馃崕 MacOS
馃摵 tvOS
馃悞 Xamarin.Forms
The text was updated successfully, but these errors were encountered:
I wouldn't call this a regression, just unsupported platform for now.
We do have a WinUI PR open, which might solve your issue. We also have another PR with .NET 6 support, which I need to finish up.
So won't do anything about this binding error you get until those get in. You could instead just use regular XAML bindings or whatever WPF/WinUI provides.
馃敊 Regression
Upgrade to 8.0.2 throws System.ReferenceNullException on use of CreateBindingSet and call bind
Note:- We have migrated from .Net5 to .Net6
Old (and correct) behavior
App starts up normally
Current behavior
Throws System.ReferenceNullException "Object reference not set to an instance of object" for setting bind after CreatBindingSet()
Reproduction steps
Create binding set and call bind.
Stack Trace
at MvvmCross.Binding.BindingContext.MvxBaseFluentBindingDescription
1.TargetPropertyName(Expression
1 targetPropertyPath)at MvvmCross.Binding.BindingContext.MvxFluentBindingDescription
2.For(Expression
1 targetPropertyPath)at DNA.Scheduler.WinUI.Gantt.GanttView..ctor() in D:\Naveen\Source\Repos\DNA.Central\DNA.Scheduler\DNA.Scheduler.WinUI\Gantt\GanttView.xaml.cs:line 31
Configuration
Version: 6.x
Platform:
The text was updated successfully, but these errors were encountered: