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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top