BuildProviderAppliesTo Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum BuildProviderAppliesTo
Inheritance
BuildProviderAppliesTo
Attributes

Fields

Name Value Description
Web 1

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.

Code 2

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

Resources 4

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

All 7

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

Remarks

A 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 BuildProviderAppliesToAttribute attribute and which have the extension mapped to the build provider.

Applies to

Proizvod Verzije
.NET Framework 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

See also