Re: How do I use AppDomains and add search paths to it?
- From: "Eric Renken" <EricRenken@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 11:56:20 -0500
Thanks for the advice, now I will try implementing all of this.
Eric Renken
""Jeffrey Tan[MSFT]"" <jetan@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:CarOATORHHA.3792@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Eric,
Thanks for your feedback.
Yes, for the new AppDomain, you should use AppDomainSetup.PrivateBinPath
property to set the private probing paths. If you are not sure which
sub-directories under MyApp\AddIns you wanted to search, you may just
enumerate "MyApp\AddIns" directory and add all the sub-folders to
AppDomainSetup.PrivateBinPath property. The usage of
AppDomainSetup.PrivateBinPath property is pretty straight, you may just
separate multiple sub-folder paths with semicolon. The "Figure 3" in the
article below demonstrated the usage of AppDomainSetup, so you may add an
extra AppDomainSetup.PrivateBinPath property setting:
"Discover Techniques for Safely Hosting Untrusted Add-Ins with the .NET
Framework 2.0"
http://msdn.microsoft.com/msdnmag/issues/05/11/HostingAddIns/default.aspx
If you still have anything unclear or need any help, please feel free to
tell me, thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- References:
- How do I use AppDomains and add search paths to it?
- From: Eric Renken
- RE: How do I use AppDomains and add search paths to it?
- From: "Jeffrey Tan[MSFT]"
- Re: How do I use AppDomains and add search paths to it?
- From: Eric Renken
- Re: How do I use AppDomains and add search paths to it?
- From: "Jeffrey Tan[MSFT]"
- Re: How do I use AppDomains and add search paths to it?
- From: Eric Renken
- Re: How do I use AppDomains and add search paths to it?
- From: "Jeffrey Tan[MSFT]"
- How do I use AppDomains and add search paths to it?
- Prev by Date: Re: Converting byte[] to string - removing NULLs??
- Next by Date: Type casting from one namespace to the other.
- Previous by thread: Re: How do I use AppDomains and add search paths to it?
- Next by thread: Re: How do I use AppDomains and add search paths to it?
- Index(es):
Relevant Pages
|
|