共用方式為


VCNMakeTool Interface

Programmatically accesses the properties in the NMAKE folder of a project's Property Pages dialog box. See Modifying Project Settings for information about how to access a project's Property Pages dialog box.

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

Syntax

'宣告
<GuidAttribute("6B8DDD86-1278-401E-996B-C41D8292900D")> _
Public Interface VCNMakeTool
[GuidAttribute("6B8DDD86-1278-401E-996B-C41D8292900D")]
public interface VCNMakeTool
[GuidAttribute(L"6B8DDD86-1278-401E-996B-C41D8292900D")]
public interface class VCNMakeTool
[<GuidAttribute("6B8DDD86-1278-401E-996B-C41D8292900D")>]
type VCNMakeTool =  interface end
public interface VCNMakeTool

The VCNMakeTool type exposes the following members.

Properties

  Name Description
Public property AssemblySearchPath Sets or gets the assembly search path.
Public property BuildCommandLine Gets or sets the command line to run for the Build command (Build menu).
Public property CleanCommandLine Gets or sets the command line to run for the Clean command (Build menu).
Public property CompileAsManaged Gets or sets the CompileAsManaged property.
Public property ForcedIncludes Sets or gets which include files must be preprocessed.
Public property ForcedUsingAssemblies Sets or gets a metadata file to reference in this compilation.
Public property IncludeSearchPath Sets or gets the search path for include files.
Public property Output Gets or sets the output file name.
Public property PreprocessorDefinitions Set or gets preprocessor symbols.
Public property ReBuildCommandLine Gets or sets the command line to run for the Rebuild command (Build menu).
Public property ToolKind Gets the name of the kind of tool this is.
Public property toolName Gets the name of the specified tool.
Public property ToolPath Gets the path to the specified tool.
Public property VCProjectEngine Gets a pointer to the project engine.

Top

Remarks

VCNMakeTool is only available for the Makefile configuration type. Failure to have the output file set to anything other than blank means that your configuration will always be up to date and it will not build.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace