I have a dll from a vendor. I have to link to it in a vb.net program. It all works fine IF the dll is in the same folder as the executable file. If I move the dll to another folder that is in the normal search path (\windows\system32, for example), the program fails.
I have looked at the References in the project, and the only difference I see between this dll and any others in the project is that "copy local" is set to "True" for this dll. I tried setting it to "False" but then I get an error on compilation:
Error 1 Assembly 'bin\mydll.dll' must be strong signed in order to be marked as a prerequisite.
I don't have source for this dll. The vendor is not particularly friendly. If I need to get them to change something, I'll have to be quite specific about it.