I have to use an external API that for whatever reason only works as long as it is initialized and run on a WPF app's UI thread. If I spin up a task/thread that does not use the UI Synchonization Context even within a WPF test app the API does not work.
I need to make it work within a Console App, Windows Service, class library...but not WPF application.