BuildProviderAppliesTo Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public enum class BuildProviderAppliesTo
[System.Flags]
public enum BuildProviderAppliesTo
[<System.Flags>]
type BuildProviderAppliesTo =
Public Enum BuildProviderAppliesTo
- Inheritance
- Attributes
Fields
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. |
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. |
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. |
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
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기