VCCustomBuildRule Interface
Interface to access custom build rules and custom build rule files.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
<GuidAttribute("F00BA17A-05B0-4DFD-92CF-434A259993D2")> _
Public Interface VCCustomBuildRule
[GuidAttribute("F00BA17A-05B0-4DFD-92CF-434A259993D2")]
public interface VCCustomBuildRule
[GuidAttribute(L"F00BA17A-05B0-4DFD-92CF-434A259993D2")]
public interface class VCCustomBuildRule
[<GuidAttribute("F00BA17A-05B0-4DFD-92CF-434A259993D2")>]
type VCCustomBuildRule = interface end
public interface VCCustomBuildRule
The VCCustomBuildRule type exposes the following members.
Properties
Name | Description | |
---|---|---|
AdditionalDependencies | Gets or sets additional, configuration-specific items to add to the link line, such as comdlg32.lib or kernel32.lib. | |
AdditionalOptions | Gets or sets options to add to the end of the command line immediately before the file name(s). An example is if an option is not supported in the object model. | |
BatchingSeparator | Gets or sets the text to insert between input file names when a custom build rule supports file batching. | |
CommandLine | Gets or sets a command line for the build event tool to run. | |
DisplayName | Gets or sets the full name of the object. | |
ExecutionDescription | Gets or sets the text that is displayed in the output window prior to executing the command line during a build. | |
FileExtensions | Gets or sets the file extensions used to associate the build rule with new files added to the project. | |
Name | Gets or sets the name of the build rule. | |
Outputs | Gets or sets the output files the custom build step generates. | |
Properties | Gets the collection of properties for the object. | |
ShowOnlyRuleProperties | Gets or sets a value indicating whether the build rule's user properties are shown in the property grid. | |
SupportsFileBatching | Gets or sets a value indicating whether the command line-inputs are evaluated to all the files that can be batched into a single command-line execution (excludes files with file properties set). | |
TargetRule | Gets whether to use the target rule. |
Top
Methods
Name | Description | |
---|---|---|
AddBooleanProperty | Adds a Boolean property to the custom build rule with the given name. | |
AddEnumProperty | Adds an enumeration property to the custom build rule with the given name. | |
AddIntegerProperty | Adds an integer property to the custom build rule with the given name. | |
AddStringProperty | Adds a string property to the custom build rule with the given name. | |
RemoveProperty | Removes the given property from the custom build rule. |
Top