Toolset 类

定义

表示 MSBuild 中的一个工具集。Represents a Toolset in MSBuild. 有关工具集的更多信息,请参阅标准和自定义工具集配置For more information about Toolsets, see Standard and Custom Toolset Configurations.

public ref class Toolset
public class Toolset
type Toolset = class
Public Class Toolset
继承
Toolset

注解

ToolsVersion ToolsVersion ToolsPath对象具有一个对应的值, 它表示项目元素 (MSBuild)上特性的值, 以及一个指示工具集所在位置的值。 ToolsetA Toolset object has a corresponding ToolsVersion value that represents the value of the ToolsVersion attribute on the Project Element (MSBuild) as well as a ToolsPath value that indicates where the Toolset is located.

构造函数

Toolset(String, String)

创建一个 Toolset 对象。Creates a Toolset object.

Toolset(String, String, BuildPropertyGroup)

创建一个 Toolset 对象。Creates a Toolset object.

属性

BuildProperties

获取用于设置特定于 BuildPropertyGroup 的自定义属性的 ToolsetGets the BuildPropertyGroup that is used to set Toolset-specific custom properties.

ToolsPath

获取到指定 Toolset 的路径。Gets the path to the specified Toolset.

ToolsVersion

获取指定 Toolset 的版本。Gets the version of the specified Toolset.

方法

Clone()

创建指定 Toolset 的副本。Creates a copy of the specified Toolset.

Equals(Object)

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

(继承自 Object)
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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于