How to define the path to an assembly DLL in the applicationConfig.xml
Posted on 2008-06-12
I'm working with some software where I can extend the functionality by adding libraries to it.
In order to add the new stuff, I create a library and point to it in an ApplicationConfig.xml that resides in the directory of the executable.
The new DLL can be put either in the GAC (which I have to avoid) or in the directory of the executable, then it works fine. I would like to put my custom assemblies in a separate directory so I need to add the path somehow.
This is the definition I currently have that works with the MyTest.DLL in the GAC or in the directory of the EXE.
<Assembly name="MyTest, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null">
The assembly is: MyTest.dll
The class included in this one is: My.Namespace.Class.MyTest
CAVEAT: I'm not sure if this is .NET standard or something custom for this particular application.
If it's not standard, I have to try to get the info from the vendor but I suspect a response might take a while so I try here first.