Defines an attribute that specifies the scope where a build provider will be applied when a resource is located. This class cannot be inherited.
See Also: BuildProviderAppliesToAttribute Members
The System.Web.Compilation.BuildProvider class will parse and generate code during compilation for a resource with a specific file extension. The System.Web.Compilation.BuildProviderAppliesToAttribute attribute defines the location scope for which the System.Web.Compilation.BuildProvider object will be called.
By setting the System.Web.Compilation.BuildProviderAppliesToAttribute attribute, you can limit a System.Web.Compilation.BuildProvider object to certain reserved ASP.NET directories, such as \App_Code.
If you do not apply a System.Web.Compilation.BuildProviderAppliesToAttribute attribute to a System.Web.Compilation.BuildProvider class, the default is BuildProviderAppliesTo.All.