Replies: 2 comments 1 reply
-
I would explicitly initialize ReactiveUI on the thread you want (or even better, explicitly set |
Beta Was this translation helpful? Give feedback.
1 reply
-
Are you targetting the correct version of windows following https://www.reactiveui.net/docs/getting-started/installation/windows-presentation-foundation.html with the TargetFramework? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm writing an VSTO addin with WPF window. Im my addin, I have two custom threads. One is a STA for WPF, the other is a MTA for services. I create a new STA thread for WPF because that I don't want the UI blocks while doing operations in Office.
The problem is that in some of my services, it uses WhenAnyValue(). When register the service in the MTA state thread, the initialize of RxApp will try to set the MainThreadScheduler to the dispatcher for the MTA thread which is null.
How to work around it?
Beta Was this translation helpful? Give feedback.
All reactions