CodeSubDirectory Class

References a directory location that is used during compilation of a dynamic resource. This class cannot be inherited.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public sealed class CodeSubDirectory : ConfigurationElement
public final class CodeSubDirectory extends ConfigurationElement
public final class CodeSubDirectory extends ConfigurationElement
Not applicable.

A CodeSubDirectory is referenced as an attribute of the Add element within the codeSubDirectories node of the compilation section of the configuration.

The build order is inferred from the top-down order of the codeSubDirectories in the configuration. The \App_Code directory is built last. However, there are no build-order dependencies, which means the build order does not matter here.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions