ShadowCopyFiles problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have been in trouble with AppDomainSetup.ShadowCopyFiles. I create some
object instances on newly created app. domain, which I have created. It works
very well but I want to turn off shadow copying for this domain by setting
ShadowCopyFiles property to "false", but my assembly is still shadow copied
into a "cache" directory. Has anyone an idea how is it possible ?

My code looks like this:

AppDomainSetup domainSetup = new AppDomainSetup();
domainSetup.ApplicationBase = AppDomain.CurrentDomain.BaseDirectory;
domainSetup.PrivateBinPath = @"applications\pseudoapp";
domainSetup.ApplicationName = "PseudoApp";
domainSetup.ShadowCopyFiles = "false";
domainSetup.CachePath = "dllcache";

AppDomain appDomain = AppDomain.CreateDomain("TestAppDomain", null,
domainSetup);

.... and so on ....

(If I not specify CachePath property, assembly will be shadow copied into
cache directory somewhere in [Document and Settings] folder anyway).

Is it possible to turn off shadow copying on this domain ? How ?

Thank you very much.
-bda-
 
Back
Top