System.Web.Compilation.BuildProviderAppliesTo Enumeration

Specifies the locations where the System.Web.Compilation.BuildProviderAppliesToAttribute attribute is respected during code generation for a resource by a System.Web.Compilation.BuildProvider object.

Syntax

[System.Flags]
public enum BuildProviderAppliesTo

Remarks

A System.Web.Compilation.BuildProvider object provides functionality to parse a particular file type and generate code during compilation of a resource. A build provider generates code for those resources that correspond to the System.Web.Compilation.BuildProviderAppliesToAttribute attribute and which have the extension mapped to the build provider.

Members

Member NameDescription
All

Specifies that the build provider generates code for resources wherever the resources are found. This is the default value for the System.Web.Compilation.BuildProviderAppliesToAttribute attribute.

Code

Specifies that the build provider generates code for only those resources in the \App_Code directory.

Resources

Specifies that the build provider generates code for resources in the \App_GlobalResources and \App_LocalResources directories.

Web

Specifies that the build provider generates code for only those resources in Web content directories, which are directories other than the reserved ASP.NET directories \App_Code, \App_GlobalResources, and \App_LocalResources.

Requirements

Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0