Updating a C # application domain

Does anyone know if the AppDomain.CurrentDomain.SetupInformation.PrivateBinPath can be changed for the current application domain? or it only affects future appdomain instances.

Thanks.

+1


a source to share


1 answer


The library says

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



When I needed it, I started the application with an empty AppDomain, which creates a scene for the rest. Do you need more information about this?

+1


a source







All Articles