469,649 Members | 1,407 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,649 developers. It's quick & easy.

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 3586
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
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.