BuildProviderAppliesTo Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

[FlagsAttribute]
public enum BuildProviderAppliesTo

Member nameDescription
WebSpecifies 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.
CodeSpecifies that the build provider generates code for only those resources in the \App_Code directory.
ResourcesSpecifies that the build provider generates code for resources in the \App_GlobalResources and \App_LocalResources directories.
AllSpecifies that the build provider generates code for resources wherever the resources are found. This is the default value for the BuildProviderAppliesToAttribute attribute.

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.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft