1DOTNET_TARGET_FRAMEWORK_VERSION
2-------------------------------
3
4.. versionadded:: 3.12
5
6Specify the .NET target framework version.
7
8Used to specify the .NET target framework version for C++/CLI and C#.
9For example: ``v4.5``.
10
11This property is only evaluated for :ref:`Visual Studio Generators`
12VS 2010 and above.
13
14To initialize this variable for all targets set
15:variable:`CMAKE_DOTNET_TARGET_FRAMEWORK` or
16:variable:`CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION`. If both are set,
17the latter is ignored.
18