1CMAKE_DOTNET_TARGET_FRAMEWORK 2----------------------------- 3 4.. versionadded:: 3.17 5 6Default value for :prop_tgt:`DOTNET_TARGET_FRAMEWORK` property of 7targets. 8 9This variable is used to initialize the 10:prop_tgt:`DOTNET_TARGET_FRAMEWORK` property on all targets. See that 11target property for additional information. 12 13Setting ``CMAKE_DOTNET_TARGET_FRAMEWORK`` may be necessary 14when working with ``C#`` and newer .NET framework versions to 15avoid referencing errors with the ``ALL_BUILD`` CMake target. 16 17This variable is only evaluated for :ref:`Visual Studio Generators` 18VS 2010 and above. 19