I am trying to migrate to .Net 5, where app domains are not supported anymore.
I used Application Domains in .Net Framework to launch multiple WPF tests without them interacting with each other.
var appDomain = AppDomain.CreateDomain("Friendly name");
And use the the appDomain to execute the application. In .Net 5 this is no longer possible.
I looked into AssemblyLoadContext
, i could not find any way to achieve this kind of isolation.
I am using MS test as a testing framework, I could not find a way to isolate each test to a single process.