共用方式為


ToolsetDefinitionLocations Enumeration

An enumeration whose values control Toolset initialization.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ToolsetDefinitionLocations
[FlagsAttribute]
public enum ToolsetDefinitionLocations
[FlagsAttribute]
public enum class ToolsetDefinitionLocations
[<FlagsAttribute>]
type ToolsetDefinitionLocations
public enum ToolsetDefinitionLocations

Members

Member name Description
ConfigurationFile Read Toolset information from the .exe configuration file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
None Do not read Toolset information from any external location.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Registry Read Toolset information from the registry (HKLM\Software\Microsoft\MSBuild\ToolsVersions).MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

See Also

Reference

Microsoft.Build.BuildEngine Namespace