I'm having an error while using Assembly.Load(X);
. The path is right, I think it is giving error when trying to load a dependency from the assembly. But I find it strange that in Visual Studio 2017 I can import the assembly into my project without any errors. The LoadFrom
and LoadFile
does not work, loads the current assembly of the code. I'm using .Net 3.5
.