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)

public enum TargetDotNetFrameworkVersion

Member nameDescription
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.

Introduced in Visual Studio 2015.

Return to top
Show: