summaryrefslogtreecommitdiff
path: root/share/cmake-3.16/Help/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.rst
blob: 124fefef1b8efb292edc62067c9ea6175d5be582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION
-------------------------------------

Default value for :prop_tgt:`DOTNET_TARGET_FRAMEWORK_VERSION`
property of targets.

This variable is used to initialize the
:prop_tgt:`DOTNET_TARGET_FRAMEWORK_VERSION` property on all
targets. See that target property for additional information.

Setting ``CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION`` may be necessary
when working with ``C#`` and newer .NET framework versions to
avoid referencing errors with the ``ALL_BUILD`` CMake target.

This variable is only evaluated for :ref:`Visual Studio Generators`
VS 2010 and above.