Calling Process.GetProcesses() inside a .NET Standard library from a UWP app
问题 I have a .NET standard library which is below: using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace process_library { public class ProcessHandler { public ProcessHandler() { } [MTAThread] public Process[] GetProcesses() { return Process.GetProcesses(); } } } I then have a Template10 project with all the .net core stuff updated to the latest version (required to get it to build) and referenced my library. This all works so far. Inside my main view-model I