CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION — CMake 4.1.4 Documentation

# CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION

Added in version 3.22.

Visual Studio target framework targets version.

In some cases, the Visual Studio Generators may use an explicit value for the MSBuild `TargetFrameworkTargetsVersion` setting in `.csproj` files. CMake provides the chosen value in this variable.

See also `CMAKE_VS_TARGET_FRAMEWORK_VERSION` and `CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER`.