Folks,
I have an app which has some private assemblies stored in a
subdirectory called "AddIn" below the directory where the app gets
launched from.
I tried to add this directory to the app's list of folders to search
by specifying this in the app.exe.config file:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="addin;bin;addin\bin"/>
</assemblyBinding>
</runtime>
Didn't seem to work, and when I look at the app's
"AppDomain.CurrentDomain.RelativeSearchPath" (or the
AppDomain.CurrentDomain.SetupInformation.PrivateBinPath), neither of
the two has anything in it - it appears as if the folder I specify in
the .config file is being ignored......
Any ideas why??
Marc
================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
|