VCToolFile::AddCustomBuildRule Method (String^, String^, String^, String^)

 

Adds a custom build rule to the tool file.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Object^ AddCustomBuildRule(
	String^ Name,
	String^ CommandLine,
	String^ Outputs,
	String^ FileExtensions
)

Parameters

Name
Type: System::String^

Name of the build rule

CommandLine
Type: System::String^

Command line text.

Outputs
Type: System::String^

Build tool outputs.

FileExtensions
Type: System::String^

List of file extensions that apply to this build rule.

Return Value

Type: System::Object^

A Build Rule object.

Return to top
Show: