VS: Enable DOTNET_TARGET_FRAMEWORK properties all target types
@brad.king this is a bugfix for issue #20764 (closed). Setting CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION globally now solves the problem of global targets not having set a dot net framework version (which is needed for nuget, but is otherwise not important).
Fixes: #20764 (closed)
Backport: release
Topic-rename: vs-add_package_reference_install
Edited by Brad King