IAppDomainSetup.ShadowCopyDirectories Property

Definition

Gets or sets the names of the directories containing assemblies to be shadow copied.

C#
public string ShadowCopyDirectories { get; set; }

Property Value

A String containing a list of directory names, where each name is separated by a semicolon.

Remarks

All directories specified by PrivateBinPath, including the directory specified by ApplicationBase, are shadow copied by default if this property is not set.

If an executable file is in use, updates to the executable file are stored in a shadow copy directory. Existing users continue using the original executable file until it terminates, while new users use the shadow copied executable file.

This property cannot be changed after the AppDomain has finished its first bind.

Applies to

Toode Versioonid
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1