472,114 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,114 software developers and data experts.

Probing path

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
Jul 21 '05 #1
1 3763
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by A. Elamiri | last post: by
2 posts views Thread by Richard | last post: by
5 posts views Thread by bonk | last post: by
2 posts views Thread by Jiho Han | last post: by
2 posts views Thread by Joel D Kraft | last post: by
1 post views Thread by Robert Scheer | last post: by
4 posts views Thread by =?Utf-8?B?anVhbkBtc2RuQ29tcGFueS5jb20=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.