Compartilhar via


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)

Syntax

'Declaração
<GuidAttribute("00F07624-7D99-4D86-9626-3C1E2D1EB1BA")> _
Public Interface VCProjectEngine
[GuidAttribute("00F07624-7D99-4D86-9626-3C1E2D1EB1BA")]
public interface VCProjectEngine
[GuidAttribute(L"00F07624-7D99-4D86-9626-3C1E2D1EB1BA")]
public interface class VCProjectEngine
[<GuidAttribute("00F07624-7D99-4D86-9626-3C1E2D1EB1BA")>]
type VCProjectEngine =  interface end
public interface VCProjectEngine

The VCProjectEngine type exposes the following members.

Properties

  Name Description
Public property BuildLogging Gets or sets a value indicating whether a log file will be created and populated with information about build activity.
Public property BuildTiming Gets or sets a value indicating whether the output window displays times for all tools in the build.
Public property Events Returns the object that is the source of events that are fired by the project engine.
Public property PerformanceLogging Infrastructure. Microsoft Internal Use Only.
Public property Platforms Gets the collection of platforms on the project engine.
Public property Projects Gets a collection of the projects currently in the solution.
Public property PropertySheets Infrastructure. Microsoft Internal Use Only.
Public property ShowEnvironmentInBuildLog Gets or sets a value which indicates whether to echo all environment variables to the build log during builds of Visual C++ projects.
Public property ToolFiles Gets all tool files available in the project.
Public property ToolFileSearchPaths Sets or gets search paths to project tool files.
Public property ValidateSchemas Sets or gets whether to validate against project schemas.

Top

Methods

  Name Description
Public method AddFakeProps Infrastructure. Microsoft Internal Use Only.
Public method CreateProject Creates a new project.
Public method CreatePropertySheet Infrastructure. Microsoft Internal Use Only.
Public method CreateToolFile Creates a tool file for the project.
Public method Evaluate Evaluates the value of a project model or environment macro.
Public method IsSystemInclude Returns 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 method LoadProject Loads a project.
Public method LoadPropertySheet Infrastructure. Microsoft Internal Use Only.
Public method LoadToolFile Loads a project tool file.
Public method RemoveProject Infrastructure. Microsoft Internal Use Only.
Public method RemovePropertySheet Infrastructure. Microsoft Internal Use Only.

Top

Remarks

Importante

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.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace