TargetDotNetFrameworkVersion Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to specify the targeted version of the .NET Framework for some methods of ToolLocationHelper.
public enum class TargetDotNetFrameworkVersion
public enum TargetDotNetFrameworkVersion
type TargetDotNetFrameworkVersion =
Public Enum TargetDotNetFrameworkVersion
- Inheritance
-
TargetDotNetFrameworkVersion
Fields
Latest | 9999 | Sentinel value for the latest version that this version of MSBuild is aware of. Similar to VersionLatest except the compiled value in the calling application will not need to change for the update in MSBuild to be used. |
Version11 | 0 | version 1.1 |
Version20 | 1 | version 2.0 |
Version30 | 2 | version 3.0 |
Version35 | 3 | version 3.5 |
Version40 | 4 | version 4.0 |
Version45 | 5 | version 4.5 |
Version451 | 6 | version 4.5.1 |
Version452 | 9 | version 4.5.2. Enum is out of order because it was shipped out of band from a Visual Studio update without a corresponding SDK release. |
Version46 | 7 | version 4.6 |
Version461 | 8 | version 4.6.1 |
Version462 | 10 | version 4.6.2 |
Version47 | 11 | version 4.7 |
Version471 | 12 | version 4.7.1 |
Version472 | 13 | version 4.7.2 |
Version48 | 14 | version 4.8 |
Version481 | 15 | version 4.8.1 |
VersionLatest | 5 | The latest version available at the time of major release. This value should not be updated in minor releases as it could be a breaking change. Use 'Latest' if possible, but note the compatibility implications. |