This documentation is archived and is not being maintained.

VCProjectEngine Interface

The only Visual C++ project model object that can be returned by CoCreateInstance.

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

public interface VCProjectEngine

The VCProjectEngine type exposes the following members.

Public propertyBuildLoggingGets or sets a value indicating whether a log file will be created and populated with information about build activity.
Public propertyBuildTimingGets or sets a value indicating whether the output window displays times for all tools in the build.
Public propertyEventsReturns the object that is the source of events that are fired by the project engine.
Public propertyPerformanceLoggingInfrastructure. Microsoft Internal Use Only.
Public propertyPlatformsGets the collection of platforms on the project engine.
Public propertyProjectsGets a collection of the projects currently in the solution.
Public propertyPropertySheetsInfrastructure. Microsoft Internal Use Only.
Public propertyShowEnvironmentInBuildLogGets or sets a value which indicates whether to echo all environment variables to the build log during builds of Visual C++ projects.
Public propertyToolFilesGets all tool files available in the project.
Public propertyToolFileSearchPathsSets or gets search paths to project tool files.
Public propertyValidateSchemasSets or gets whether to validate against project schemas.

Public methodAddFakePropsInfrastructure. Microsoft Internal Use Only.
Public methodCreateProjectCreates a new project.
Public methodCreatePropertySheetInfrastructure. Microsoft Internal Use Only.
Public methodCreateToolFileCreates a tool file for the project.
Public methodEvaluateEvaluates the value of a project model or environment macro.
Public methodIsSystemIncludeReturns true if the specified file is in the Vc7\include directory or if the file is one of the directories specified with sysincl.dat.
Public methodLoadProjectLoads a project.
Public methodLoadPropertySheetInfrastructure. Microsoft Internal Use Only.
Public methodLoadToolFileLoads a project tool file.
Public methodRemoveProjectInfrastructure. Microsoft Internal Use Only.
Public methodRemovePropertySheetInfrastructure. Microsoft Internal Use Only.

Important noteImportant

You cannot instantiate a stand-alone VCProjectEngine object because additional binaries must be deployed in the folder that contains the application. Instead, obtain a VCProjectEngine object from a project that has been opened in Visual Studio.