troubleshooting Question

Using DLL's on client machine

Avatar of ditkis
ditkis asked on
C#
19 Comments1 Solution377 ViewsLast Modified:
Hello!

My project consists of several DLL's. Among other I have xDLL.dll which has a reference to xObjects.dll. When compiling the project, xDll.dll and all dependensies are copying to bin folder of the project. It is known that on every machine (user machine) that this application will be used, all those files are located in c:\\Program Files\X\x.Objects.dll

My question: how can I use files located on users machines instead of those which are copying while compiling?

I've tried:

Copy Local = false for xObjects.dll

And have created the file:
<?xml version ="1.0"?>
<configuration>
<runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                        <assemblyIdentity name="xObjects" culture="" publicKeyToken=""/>
                        <codeBase version="" href="file:///C:/Program Files/X/xObjects.dll"/>
                </dependentAssembly>
        </assemblyBinding>
</runtime>
</configuration>

---------------------------

Please help!
Thanks!

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 19 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros