wpf项目,使用ReactiveUI,只引用了ReactiveUI.Fody,调用命令时,就遇到了“线程无法访问此对象,因为另一个线程拥有该对象”的异常,在stackoverflow找到了解决方案,引用ReactivUI.WPF包即可,原问题链接:c# - ReactiveUI sync ReactiveCommand invocation cause System.InvalidOperationException - Stack Overflow

Comments

Be the first to post a comment

Post a comment