public void Create_CrossAppDomain() { var app = new CrossAppDomain("Init App"); app.AppDomain.SetupInformation.PrivateBinPath = TestContext.TestDeploymentDir; app.AppDomain.SetupInformation.ApplicationBase = TestContext.TestDeploymentDir; app.AppDomain.SetupInformation.ApplicationBase = TestContext.TestDeploymentDir; //app.Execute(typeof(Program).Assembly.FullName, typeof(Program).FullName); app.AppDomain.ExecuteAssemblyByName(typeof(Program).Assembly.FullName); }