问题
I am using the ReactiveUI library within my WPF project and it seems that
ReactiveUserControl<TViewModel> : UserControl
and the ReactiveWindow<TViewModel> : Window
don't work with the XAML Hot Reload
.
Although extending directly from a Usercontrol
did allow me to use the XAML hot reload
.
I can not find any documentation or posts on the matter besides this one page which explains absolutely nothing.
Wondering if it maybe has to do with the x:TypeArguments="navigation:MainVM"
that you have to pass in or the ReactiveUI
library messing something up internally?
I am using visual studio 2019
but the same problem occurs on visual studio 2017
, besides that I am using .NET Framework 4.6.1
and ReactiveUI
version 9.20.1.
来源:https://stackoverflow.com/questions/57507878/how-can-i-get-xaml-hot-reload-to-work-for-custom-types-in-wpf