title: Can I simulate or somehow create a WPF UI thread within a Console Application or Class Library?
body: <p>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. </p>
  
  <p>I need to make it work within a Console App, Windows Service, class library...but not WPF application.</p>