Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BuildProviderAppliesTo Enumeration

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)

public enum BuildProviderAppliesTo
/** @attribute FlagsAttribute() */ 
public enum BuildProviderAppliesTo
public enum BuildProviderAppliesTo

 Member nameDescription
AllSpecifies that the build provider generates code for resources wherever the resources are found. This is the default value for the BuildProviderAppliesToAttribute attribute. 
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. 
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. 

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 98, Windows Server 2000 SP4, Windows Millennium Edition, 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

© 2015 Microsoft