Probing path

  • Thread starter Thread starter Robert Scheer
  • Start date Start date
R

Robert Scheer

Hi.

The docs say the <probing> element needs to refer to subdirectories of
the application main directory. My windows application needs to locate
an assembly in a directory above the application directory. Is it
possible? Can I use the <probing> element to locate an assembly
anywhere on the machine?

Thanks,
Robert Scheer
 
Robert,
My windows application needs to locate
an assembly in a directory above the application directory. Is it
possible?

Yes, if you load it explicitly with Assembly.LoadFrom(), or create a
new appdomain and set its base directory to the assembly location.

Can I use the <probing> element to locate an assembly
anywhere on the machine?

No



Mattias
 
Back
Top