We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

public interface VCNMakeTool

The VCNMakeTool type exposes the following members.

Public propertyAssemblySearchPathSets or gets the assembly search path.
Public propertyBuildCommandLineGets or sets the command line to run for the Build command (Build menu).
Public propertyCleanCommandLineGets or sets the command line to run for the Clean command (Build menu).
Public propertyCompileAsManagedGets or sets the CompileAsManaged property.
Public propertyForcedIncludesSets or gets which include files must be preprocessed.
Public propertyForcedUsingAssembliesSets or gets a metadata file to reference in this compilation.
Public propertyIncludeSearchPathSets or gets the search path for include files.
Public propertyOutputGets or sets the output file name.
Public propertyPreprocessorDefinitionsSet or gets preprocessor symbols.
Public propertyReBuildCommandLineGets or sets the command line to run for the Rebuild command (Build menu).
Public propertyToolKindGets the name of the kind of tool this is.
Public propertytoolNameGets the name of the specified tool.
Public propertyToolPathGets the path to the specified tool.
Public propertyVCProjectEngineGets a pointer to the project engine.

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.