Application configuration

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,

How I can create an configuration file for showing the app.exe where the DLL
files located.
I do not what to add my DLL to the assembly or copy them to the same
location with EXE file.

Thanks
 
If you don't want to add your DLL to the main EXE assembly, how do you plan
to use them?
If you can answer that first, I might be able to give you a better response.

-Rob Teixeira [MVP]
 
It has to be 3 possibilities how to use DLLs:
1. Add to Assembly
2. Copy the DLL at the same location where EXE exists
3. Use configuration file.

I am looking for third one choice.
Sorry that I did not mantion this detail in my first posting.

I hope that I cleared the my previous question

Thanks
 
If i'm not mistaken, you can also go to the config file's AssemblyBinding
tag, and specify the location for a specific dependent assembly (rather than
use probing). If i remember correctly, add a "dependentAssembly" tag, then
an "assemblyIdentity" tag and "codeBase" tag under it. The "codeBase" tag
contains the path.

-Rob Teixeira [MVP]
 
Back
Top