I am using this approach for dynamic loading:
It failed on the line var assembly = Assembly.LoadFrom(path);
with FileLoadException : Could not load file or assembly "file:///C:UsersabcDocumentsVisual Studio 2010ProjectsproblembinDebugChilkatDotNet4-32.dll" or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
asked Apr 04 at 09:09
I found the problem with loading assembly.
The problem is that I downloaded zip and extracted it with Windows Explorer.
It marked DLL as network downloaded and don't want to load it with AssemblyLoad
answered Apr 04 at 09:10