ShadowCopyDirectories Property

AppDomainSetup.ShadowCopyDirectories Property

Updated: September 2009

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public string ShadowCopyDirectories { get; set; }

Property Value

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

Implements

IAppDomainSetup.ShadowCopyDirectories

When shadow copying is enabled, the default is to shadow copy all assemblies found through probing; that is, in the directories specified by the PrivateBinPath and ApplicationBase properties. The ShadowCopyDirectories property restricts the shadow copy to the assemblies in the directories specified by ShadowCopyDirectories.

Important noteImportant Note:

Directory paths must not contain semicolons, because the semicolon is the delimiter character. There is no escape character for semicolons.

When shadow copying is in effect, assembly files are copied to another location before the assemblies are loaded. The original assembly file is not locked, so it can be updated. For more information on shadow copying, see Shadow Copying Assemblies.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Date

History

Reason

September 2009

Added a warning that directory paths must not contain semicolons.

Content bug fix.

Community Additions

ADD
Show:
© 2016 Microsoft