tags:

views:

606

answers:

1

Hi, does anyone know if it is possible to change the AppDomain.CurrentDomain.SetupInformation.PrivateBinPath for the current application domain? or does this only affect future appdomain instances..

Thanks.

A: 

The Library says

Changing the properties of an AppDomainSetup instance does not affect any existing AppDomain. It can affect only the creation of a new AppDomain, when the CreateDomain method is called with the AppDomainSetup instance as a parameter.

When I needed this, started my app with an empty AppDomain that sets up the stage for the others. Do you need more info on this?

Giulio Vian