TargetDotNetFrameworkVersion Enumeration
Specifies the version of the .NET Framework to use with the methods in ToolLocationHelper.
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.
Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Public Enumeration TargetDotNetFrameworkVersion
public enum TargetDotNetFrameworkVersion
public enum class TargetDotNetFrameworkVersion
type TargetDotNetFrameworkVersion
public enum TargetDotNetFrameworkVersion
Members
Member name | Description | |
---|---|---|
Version11 | Specifies .NET Framework version 1.1. | |
Version20 | Specifies .NET Framework version 2.0. | |
Version30 | Specifies .NET Framework version 3.0. | |
Version35 | Specifies .NET Framework version 3.5. | |
Version40 | Version 4.0. | |
Version45 | Version 4.5. | |
Version451 | Version 4.5.1. | |
Version46 | Version 4.6.Introduced in Visual Studio 2015. | |
VersionLatest | Specifies the most recent released version of the .NET Framework. |
Remarks
Introduced in Visual Studio 2015.