If the TargetPlatformIdentifier is set, the .NET SDK should generate assembly attributes for the target platform version, as well as the OSMinimumVersion. See this spec: https://github.com/dotnet/designs/blob/master/accepted/2020/minimum-os-version/minimum-os-version.md
We can also include in this setting the MinimumOSPlatform to the TargetPlatformVersion if it's not otherwise defined.