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
'宣告
<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 | |
---|---|---|
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 | Infrastructure. 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 | Infrastructure. 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. |
Top
Methods
Name | Description | |
---|---|---|
AddFakeProps | Infrastructure. Microsoft Internal Use Only. | |
CreateProject | Creates a new project. | |
CreatePropertySheet | Infrastructure. Microsoft Internal Use Only. | |
CreateToolFile | Creates a tool file for the project. | |
Evaluate | Evaluates the value of a project model or environment macro. | |
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. | |
LoadProject | Loads a project. | |
LoadPropertySheet | Infrastructure. Microsoft Internal Use Only. | |
LoadToolFile | Loads a project tool file. | |
RemoveProject | Infrastructure. Microsoft Internal Use Only. | |
RemovePropertySheet | Infrastructure. Microsoft Internal Use Only. |
Top
Remarks
重要
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.