Load a WPF application Assembly from another WPF app, get error: Cannot create more than one System.Windows.Application instance in the same AppDomain
问题 The Scenario: LUNCHER.exe : a WPF Application >> Build 32bit , .Net 4.5.1 , location= D:\ LOADED.exe : another WPF Application >> Build 32bit , .Net 4.5.1, location= D:\ I'm owner of both assembly (both application and thair sources) Now, i want load the LOADED.exe [and its resources such as images dlls and...) as a Byte array to the memory and execute it, then remove LOADED.exe and its resources from hard disk. In the first step i'm trying to just load the LOADED.exe file to memory and