I created a Windows service with C#, which is to be part of a larger
product. It uses a few assemblies created by a different team, that
are located within the folder structure of the the product. The
installer for the product sets up a folder structure with fixed
relative paths, so I want to specify the location of the referenced
assemblies using a relative path (like "..\..\lib\sdk.dll").

Can anybody tell me how to do that? I don't want to add code to load
the assemblies at runtime, for development I just want to specify them
under the 'references' in my VS solution. The only thing I want to
tell the CLR is explicitly where to look for the assembly and I want
to do JUST THAT at runtime.

Thanks for any help.

Peter

Reply via email to