I want to execute an external assembly with mandatory arguments using Application Domain (not Process).
System.AppDomain ad = AppDomain.CreateDomain("test");
// i want to pass a mandatory arguments here.
ad.ExecuteAssembly("something.exe");
System.AppDomain.Unload(ad);
I have searched on the internet examples for that, but I haven’t found it.
There is an overload (note that this is obsoleted in 4.0)
or in 4.0 this one