Load assembly from Path
问题 I need to load an assembly from a certain location and not from the GAC. I can not remove the assembly from the GAC, because my program has to run on different machines, where I couldn't control if the assembly is in the GAC or not. I added a reference to the DLL-File to my project. Unfortuntely the assembly is loaded from the GAC. I've tried the following code in my App.xaml.cs in the Startup -Event var directory = Thread.GetDomain().BaseDirectory; var dllPath = Path.Combine(directory,