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)

'Declaration
<GuidAttribute("805DB980-6773-4F10-8706-F481450963DA")> _
Public Interface VCProjectEngine

The VCProjectEngine type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft