summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/DOTNET_TARGET_FRAMEWORK.rst
blob: 3ba4e25021152452ce025fa161191ff36665e02c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DOTNET_TARGET_FRAMEWORK
-----------------------

.. versionadded:: 3.17

Specify the .NET target framework.

Used to specify the .NET target framework for C++/CLI and C#.  For
example: ``netcoreapp2.1``.

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

Can be initialized for all targets using the variable
:variable:`CMAKE_DOTNET_TARGET_FRAMEWORK`.