2020-08-30 11:54:41 +02:00
|
|
|
DOTNET_TARGET_FRAMEWORK
|
|
|
|
-----------------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.17
|
|
|
|
|
2020-08-30 11:54:41 +02:00
|
|
|
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`.
|