共用方式為


VCProjectEngine Interface

Definition

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

public interface class VCProjectEngine
public interface class VCProjectEngine
__interface VCProjectEngine
[System.Runtime.InteropServices.Guid("54969DD8-23D3-4A77-911C-87E6A3C5C21C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface VCProjectEngine
[<System.Runtime.InteropServices.Guid("54969DD8-23D3-4A77-911C-87E6A3C5C21C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type VCProjectEngine = interface
Public Interface VCProjectEngine
Derived
Attributes

Remarks

Important

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.

Properties

BuildLogging

Gets or sets a value indicating whether a log file will be created and populated with information about build activity.

BuildTiming

Gets or sets a value indicating whether the output window displays times for all tools in the build.

Events

Returns the object that is the source of events that are fired by the project engine.

PerformanceLogging

Microsoft Internal Use Only.

Platforms

Gets the collection of platforms on the project engine.

Projects

Gets a collection of the projects currently in the solution.

PropertySheets

Microsoft Internal Use Only.

ShowEnvironmentInBuildLog

Gets or sets a value which indicates whether to echo all environment variables to the build log during builds of Visual C++ projects.

ToolFiles

Gets all tool files available in the project.

ToolFileSearchPaths

Sets or gets search paths to project tool files.

ValidateSchemas

Sets or gets whether to validate against project schemas.

Methods

AddFakeProps(Int32, Int32, Int32)

Microsoft Internal Use Only.

CreateProject(String)

Creates a new project.

CreatePropertySheet(String)

Microsoft Internal Use Only.

CreateToolFile(String)

Creates a tool file for the project.

Evaluate(String)

Evaluates the value of a project model or environment macro.

GetVCProjectBuildService(String, String, Guid, Object)
IsSystemInclude(String)

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.

LoadProject(String)

Loads a project.

LoadPropertySheet(String)

Microsoft Internal Use Only.

LoadToolFile(String)

Loads a project tool file.

RemoveProject(Object)

Microsoft Internal Use Only.

RemovePropertySheet(Object)

Microsoft Internal Use Only.

WaitForMultipleHandles(UInt32, Array)

Applies to