Yes, it could be done in a config file. You would have to configure the
<probingelement in the config file to specify directories to probe for the
dlls that you are referencing.
However, you could just as easily copy the assemblies into your local
directory.
If you don't want to copy them because you want multiple applications to
use the assembly, and want to make sure that the assemblies are consistent
across all applications, then you should place the assemblies in the Global
Assembly Cache (GAC).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"jez123456" <je*******@discussions.microsoft.comwrote in message
news:91**********************************@microsof t.com...
Hi experts
I have a c# project which uses references to various dlls. All works ok on
my pc, but if I run the project on another machine it does not work
correctly. On further investigation, the other machine has the dlls in
different path locations.
How do I get my project to run wherever the dlls are stored? Could this be
done in a config file?
Many Thanks