How to access the Dispatcher from a .net Core 3.1 dll (WPF)
问题 I read: .NET Dispatcher, for .NET Core? I'm not able to apply both solution. Solution of JBSnorro: Unable to find how to switch to "Microsoft.NET.Sdk.WindowsDesktop". Solution of codevision: I use .net Core 3.1 instead of .net Core 3.0 and a .dll instead of .exe. The result is Any idea how to access the Dispatcher from .net-core 3.1? IMPORTANT Clemens solution works great. Also, by reloading the project directly from Visual Studio has the advantage to tell you more about the problem hidden in