$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)'))
v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2))
<_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV'))
$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4))
$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2))
Windows
<_UnsupportedTargetFrameworkError>true
true
true
v0.0
_
true
true
<_EnableDefaultWindowsPlatform>false
false
2.1
<_ApplicableTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and '%(SdkSupportedTargetPlatformVersion.DefineConstantsOnly)' != 'true'" RemoveMetadata="DefineConstantsOnly" />
<_ValidTargetPlatformVersion Include="@(_ApplicableTargetPlatformVersion)" Condition="'@(_ApplicableTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" />
@(_ValidTargetPlatformVersion->Distinct())
true
<_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' != ''" >@(_ApplicableTargetPlatformVersion, '%0a')
<_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' == ''" >None
true
true