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 | |
---|---|---|
AssemblySearchPath | Sets or gets the assembly search path. | |
BuildCommandLine | Gets or sets the command line to run for the Build command (Build menu). | |
CleanCommandLine | Gets or sets the command line to run for the Clean command (Build menu). | |
CompileAsManaged | Gets or sets the CompileAsManaged property. | |
ForcedIncludes | Sets or gets which include files must be preprocessed. | |
ForcedUsingAssemblies | Sets or gets a metadata file to reference in this compilation. | |
IncludeSearchPath | Sets or gets the search path for include files. | |
Output | Gets or sets the output file name. | |
PreprocessorDefinitions | Set or gets preprocessor symbols. | |
ReBuildCommandLine | Gets or sets the command line to run for the Rebuild command (Build menu). | |
ToolKind | Gets the name of the kind of tool this is. | |
toolName | Gets the name of the specified tool. | |
ToolPath | Gets the path to the specified tool. | |
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.