Re: How do I use AppDomains and add search paths to it?



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.



.



Relevant Pages

  • Re: How do I use AppDomains and add search paths to it?
    ... assembly that exists in another AppDomain. ... class and we are unwrapping this object in the default AppDomain, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do I use AppDomains and add search paths to it?
    ... Yes, for the new AppDomain, you should use AppDomainSetup.PrivateBinPath ... property to set the private probing paths. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do I use AppDomains and add search paths to it?
    ... class and we are unwrapping this object in the default AppDomain, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: winword.exe.manifest for multiple add-ins?
    ... Microsoft Online Community Support ... Get notification to my posts through email? ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Problems with uiAccess = true
    ... It seems that the "A referral was returned from the server" error dialog is ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.win32.programmer.ui)