ResolveVCProjectOutput 类

定义

确定 Visual C++ 项目引用的输出文件。Determines the output files for Visual C++ project references.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class ResolveVCProjectOutput : Microsoft::Build::Tasks::TaskExtension
public class ResolveVCProjectOutput : Microsoft.Build.Tasks.TaskExtension
type ResolveVCProjectOutput = class
    inherit TaskExtension
Public Class ResolveVCProjectOutput
Inherits TaskExtension
继承
ResolveVCProjectOutput

注解

ResolveVCProjectOutput如果从命令行生成,则任务使用 Visual C++ 引擎对象模型。The ResolveVCProjectOutput task uses the Visual C++ engine object model if building from a command line.

构造函数

ResolveVCProjectOutput()

此 API 支持产品基础结构,不能在代码中直接使用。

初始化 ResolveVCProjectOutput 类的新实例。Initializes a new instance of the ResolveVCProjectOutput class.

属性

BuildEngine

生成引擎自动设置此属性,以允许任务回调到其中。The build engine automatically sets this property to allow tasks to call back into it.

(继承自 Task)
BuildEngine2

生成引擎自动设置此属性,以允许任务回调到其中。The build engine automatically sets this property to allow tasks to call back into it. 这是一个便捷属性,因此从此类继承的任务作者不必将值从 IBuildEngine 强制转换为 IBuildEngine2。This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.

(继承自 Task)
BuildEngine3

检索主机提供的生成引擎接口的 IBuildEngine3 版本。Retrieves the IBuildEngine3 version of the build engine interface provided by the host.

(继承自 Task)
BuildEngine4

检索主机提供的生成引擎接口的 IBuildEngine4 版本。Retrieves the IBuildEngine4 version of the build engine interface provided by the host.

(继承自 Task)
BuildEngine5

检索主机提供的生成引擎接口的 IBuildEngine5 版本。Retrieves the IBuildEngine5 version of the build engine interface provided by the host.

(继承自 Task)
BuildEngine6

检索主机提供的生成引擎接口的 IBuildEngine6 版本。Retrieves the IBuildEngine6 version of the build engine interface provided by the host.

(继承自 Task)
BuildEngine7

获取主机提供的生成引擎接口的版本。Gets the version of the build engine interface provided by the host.

(继承自 Task)
Configuration

获取或设置使用 Visual C++ 项目引擎对象模型时要查找 Visual C++ 项目的配置。Gets or sets the configuration to look up for the Visual C++ project when using the Visual C++ project engine object model.

HelpKeywordPrefix

获取或设置前缀,该前缀用于通过字符串资源名称组成 help 关键字。Gets or sets the prefix used to compose help keywords from string resource names. 如果任务没有与消息关联的 help 关键字,则可以忽略此属性或将其设置为 null。If a task does not have help keywords associated with its messages, it can ignore this property or set it to null. 如果前缀设置为空字符串,则字符串资源名称将逐字用作 help 关键字。If the prefix is set to an empty string, then string resource names will be used verbatim as help keywords. 有关如何使用此前缀的示例,请参阅 TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[]) 方法。For an example of how this prefix is used, see the TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[]) method.

(继承自 Task)
HostObject

如果主机 IDE 具有与此特定任务关联的主机对象,则生成引擎会设置此属性。The build engine sets this property if the host IDE has associated a host object with this particular task.

(继承自 Task)
Log

此 API 支持产品基础结构,不能在代码中直接使用。

获取包含任务日志记录方法的 TaskLoggingHelperExtension 类的实例。Gets an instance of a TaskLoggingHelperExtension class containing task logging methods.

(继承自 TaskExtension)
Override

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置替代样式表的路径,ResolveVCProjectOutput 任务将该样式表用于更改 Visual C++ 生成项目的目录。Gets or sets the path of the override stylesheet that the ResolveVCProjectOutput task uses to change the directory of the Visual C++ built project.

ProjectReferences

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置 Visual C++ 项目引用。Gets or sets Visual C++ project references.

ResolvedImportLibraryPaths

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置本机 Visual C++ 项目的解析 .LIB 文件路径并保留原始项目的引用特性。Gets or sets resolved .LIB file paths for native Visual C++ projects and preserves the original project reference attributes.

ResolvedOutputPaths

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置托管 Visual C++ 项目已解析的引用路径。Gets or sets resolved reference paths for managed Visual C++ projects. 保留原始的项目引用属性。Preserves the original project reference attributes.

SolutionFile

此 API 支持产品基础结构,不能在代码中直接使用。

获取或设置用于设置 VCBuild 解决方案宏的解决方案文件的路径。Gets or sets the path of the solution file that is used to set the solution macros for VCBuild.

TaskResources

获取或设置任务的区域性特定资源。Gets or sets the task's culture-specific resources. 派生类应在构造期间注册资源,如果它们有本地化字符串,则可以通过此属性注册。Derived classes should register their resources either during construction, or via this property, if they have localized strings.

(继承自 Task)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Execute()

此 API 支持产品基础结构,不能在代码中直接使用。

执行 ResolveVCProjectOutput 任务。Executes the ResolveVCProjectOutput task.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于