Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Could you provide more information for us? I haven't been able to reproduce this error.</p> <p>Process.Start should create a new process with its own AppDomain.</p> <p>On my machine I created a project Harness which has a project reference to DoNothing which is a strongly signed assembly and a project reference to LaodDoNothing which has a reference to c:\DoNothing.exe. I've pasted the code below from Harness.Main with debug outputs as inline comments. The exes suffixed with unsigned are not signed.</p> <pre><code>//debug outputs when Main is jitted:'Harness.vshost.exe' (Managed): Loaded 'c:\project\DoNothing\Harness\bin\Debug\DoNothing.exe', Symbols loaded. //debug outputs when Main is jitted:'Harness.vshost.exe' (Managed): Loaded 'c:\project\DoNothing\Harness\bin\Debug\LoadDoNothing.exe', Symbols loaded. ZaZaZa.Main(); LoadDoNothing.Program.Main(); using (Process process = new Process()) { process.StartInfo.FileName = @"C:\donothingunsigned.exe"; process.Start(); //debug outputs The thread 0x17f0 has exited with code 0 (0x0). No assemblies loads are logged to debug because this is a separate process. } using (Process process = new Process()) { process.StartInfo.FileName = @"C:\3\donothingunsigned2.exe"; process.Start(); //Debug outputs The thread 0x1014 has exited with code 0 (0x0). No assemblies loads are logged to debug because this is a separate process. } AppDomain.CurrentDomain.ExecuteAssembly(@"C:\donothingunsigned.exe"); //debug outputs 'Harness.vshost.exe' (Managed): Loaded 'C:\donothingunsigned.exe' AppDomain.CurrentDomain.ExecuteAssembly(@"C:\3\donothingunsigned2.exe"); //no debug output because the loader realizes this assembly has already been loaded and uses that. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload