Unmanaged dll interop
Hi,
If I include, say the clrzmq, nuget package that includes some unmanaged dlls the only way I can get them to run is by copying the unmanaged dll into the same directory as linqpad.dll as it isn't able to find the unmanaged dll. Is there anything I can do to improve this?
Cheers
Karl
If I include, say the clrzmq, nuget package that includes some unmanaged dlls the only way I can get them to run is by copying the unmanaged dll into the same directory as linqpad.dll as it isn't able to find the unmanaged dll. Is there anything I can do to improve this?
Cheers
Karl
Comments
-
I don't even think it's possible to get the CLR to resolve unmanaged assemblies outside the base folder or the system %path%. The AppDomain's assembly resolve events don't even fire.
-
I suspected that might be the case. Cheers.