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
After migrating a WPF project from net48 to net6 the ColorPlugin stopped working - just returns {{DependencyProperty.UnsetValue}} from Convert. The value passed into the Convert is not null of course.
Expected behavior
ColorPlugin should work in the same way as for net48.
In the setup class (which is registered with RegisterSetupType and inherits MvxWpfSetup) in the InitializeLastChance override add the manual registration
Mvx.IoCProvider.RegisterSingleton<IMvxNativeColor>(() => new MvvmCross.Plugin.Color.Platforms.Wpf.MvxWpfColor());
馃悰 Bug Report
After migrating a WPF project from net48 to net6 the ColorPlugin stopped working - just returns
{{DependencyProperty.UnsetValue}}
fromConvert
. Thevalue
passed into theConvert
is not null of course.Expected behavior
ColorPlugin should work in the same way as for net48.
Reproduction steps
TipCalc.zip
TextBlock
under the "Tip to leave" (converter working)Configuration
Version: 8.0.2 (MvvmCross 8.0.2 + MvvmCross.Plugin.Color 8.0.2)
Platform:
Additional information
After quick research I found that
IMvxNativeColor
is not registered fornet6
build, and is registered fornet48
The text was updated successfully, but these errors were encountered: