7 assignments to MSBuild property TargetPlatformVersion
MSBuildFiles (7)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (1)
1345
<
TargetPlatformVersion
Condition="'$(TargetPlatformVersion)' == ''">0.0</TargetPlatformVersion>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (4)
67
<
TargetPlatformVersion
Condition="'$(TargetPlatformIdentifier)' == 'Windows'" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4))</TargetPlatformVersion>
68
<
TargetPlatformVersion
Condition="'$(TargetPlatformVersion)' == '' or ('$(TargetPlatformIdentifier)' == 'Windows' and !$([MSBuild]::VersionGreaterThanOrEquals($(TargetPlatformVersion), 10.0)))" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2))</TargetPlatformVersion>
69
<
TargetPlatformVersion
Condition="$([MSBuild]::VersionEquals($(TargetPlatformVersion), 0.0))" ></TargetPlatformVersion>
229
<
TargetPlatformVersion
Condition="'@(_ValidTargetPlatformVersion)' != '' and '@(_ValidTargetPlatformVersion->Distinct()->Count())' == '1' and '@(_ValidTargetPlatformVersion)' != '$(TargetPlatformVersion)'">@(_ValidTargetPlatformVersion->Distinct())</TargetPlatformVersion>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Windows.targets (1)
34
<
TargetPlatformVersion
>7.0</TargetPlatformVersion>
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (1)
90
<
TargetPlatformVersion
Condition="'$(TargetPlatformVersion)' == '' and '$(_EnableDefaultWindowsPlatform)' != 'false'">7.0</TargetPlatformVersion>
49 usages of MSBuild property TargetPlatformVersion
MSBuildFiles (49)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets (2)
134
and '$(
TargetPlatformVersion
)' != ''
138
<_Parameter1>$(TargetPlatformIdentifier)$(
TargetPlatformVersion
)</_Parameter1>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets (2)
205
<_PlatformVersionForImplicitDefine>$(
TargetPlatformVersion
.Replace('.', '_'))</_PlatformVersionForImplicitDefine>
234
<_SupportedPlatformCompatibleVersions Include="@(SdkSupportedTargetPlatformVersion)" Condition=" %(Identity) != '' and $([MSBuild]::VersionLessThanOrEquals(%(Identity), $(
TargetPlatformVersion
))) " />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets (2)
41
TargetPlatformVersion="$(
TargetPlatformVersion
)"
96
TargetPlatformVersion="$(
TargetPlatformVersion
)"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (4)
1345
<TargetPlatformVersion Condition="'$(
TargetPlatformVersion
)' == ''">0.0</TargetPlatformVersion>
1346
<TargetPlatformMoniker>$(TargetPlatformIdentifier),Version=$(
TargetPlatformVersion
)</TargetPlatformMoniker>
1347
<TargetPlatformDisplayName>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(
TargetPlatformVersion
)))</TargetPlatformDisplayName>
1352
<SupportedOSPlatformVersion>$(
TargetPlatformVersion
)</SupportedOSPlatformVersion>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (13)
65
<PropertyGroup Condition="'$(TargetFramework)' != '' and ('$(TargetPlatformIdentifier)' == '' or '$(
TargetPlatformVersion
)' == '')">
68
<TargetPlatformVersion Condition="'$(
TargetPlatformVersion
)' == '' or ('$(TargetPlatformIdentifier)' == 'Windows' and !$([MSBuild]::VersionGreaterThanOrEquals($(
TargetPlatformVersion
), 10.0)))" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2))</TargetPlatformVersion>
69
<TargetPlatformVersion Condition="$([MSBuild]::VersionEquals($(
TargetPlatformVersion
), 0.0))" ></TargetPlatformVersion>
213
Condition="'$(
TargetPlatformVersion
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))">
215
<NETSdkError Condition="'$(SupportedOSPlatformVersion)' != '' and $(
TargetPlatformVersion
) != '' and $([MSBuild]::VersionGreaterThan($(SupportedOSPlatformVersion), $(
TargetPlatformVersion
)))"
217
FormatArguments="$(SupportedOSPlatformVersion);$(
TargetPlatformVersion
)"/>
223
Condition="'$(
TargetPlatformVersion
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(Language)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')">
225
<_ValidTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(
TargetPlatformVersion
)))" />
229
<TargetPlatformVersion Condition="'@(_ValidTargetPlatformVersion)' != '' and '@(_ValidTargetPlatformVersion->Distinct()->Count())' == '1' and '@(_ValidTargetPlatformVersion)' != '$(
TargetPlatformVersion
)'">@(_ValidTargetPlatformVersion->Distinct())</TargetPlatformVersion>
236
Condition="'$(
TargetPlatformVersion
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(Language)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')">
245
FormatArguments="$(
TargetPlatformVersion
);$(TargetPlatformIdentifier);$(_ValidTargetPlatformVersions)" />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Windows.targets (5)
20
and '$(
TargetPlatformVersion
)' != ''
21
and $([MSBuild]::VersionGreaterThanOrEquals($(
TargetPlatformVersion
), '10.0'))
33
<PropertyGroup Condition="'$(TargetPlatformIdentifier)' == 'windows' and '$(
TargetPlatformVersion
)' == ''" >
44
<SupportedOSPlatformVersion Condition="'$(SupportedOSPlatformVersion)' == ''">$(
TargetPlatformVersion
)</SupportedOSPlatformVersion>
45
<TargetPlatformMinVersion Condition="'$(TargetPlatformMinVersion)' == ''">$(
TargetPlatformVersion
)</TargetPlatformMinVersion>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets (1)
144
TargetPlatformVersion="$(
TargetPlatformVersion
)"
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets (2)
700
TargetPlatformVersion="$(
TargetPlatformVersion
)"
1146
<TargetPlatformVersion>$(
TargetPlatformVersion
)</TargetPlatformVersion>
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (13)
90
<TargetPlatformVersion Condition="'$(
TargetPlatformVersion
)' == '' and '$(_EnableDefaultWindowsPlatform)' != 'false'">7.0</TargetPlatformVersion>
92
<TargetPlatformSdkPath Condition="'$(TargetPlatformSdkPath)' == '' and '$(TargetPlatformIdentifier)' == 'Windows' and $([MSBuild]::IsOSPlatform('Windows')) and '$(MSBuildRuntimeType)' != 'Core'">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SDKs\Windows\v$(
TargetPlatformVersion
)', InstallationFolder, null, RegistryView.Registry32, RegistryView.Default))</TargetPlatformSdkPath>
93
<TargetPlatformSdkPath Condition="'$(TargetPlatformSdkPath)' == ''">$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation($(TargetPlatformIdentifier), $(
TargetPlatformVersion
)))</TargetPlatformSdkPath>
97
<UseOSWinMdReferences Condition="'$(UseOSWinMdReferences)' == '' and ('$(TargetPlatformWinMDLocation)' == '' and '$(TargetPlatformIdentifier)' == 'Windows' and '$(
TargetPlatformVersion
)' > '7.0')">true</UseOSWinMdReferences>
99
<TargetPlatformMoniker Condition="'$(TargetPlatformMoniker)' == '' and '$(TargetPlatformIdentifier)' != '' and '$(
TargetPlatformVersion
)' != ''">$(TargetPlatformIdentifier),Version=$(
TargetPlatformVersion
)</TargetPlatformMoniker>
100
<TargetPlatformDisplayName Condition="'$(TargetPlatformDisplayName)' == ''">$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(
TargetPlatformVersion
)))</TargetPlatformDisplayName>
762
<ProjectCapability Condition=" '$(TargetPlatformIdentifier)' == 'Windows' and '$(
TargetPlatformVersion
)' < 8.0 "
2604
TargetPlatformVersion="$(
TargetPlatformVersion
)"
2675
<RuntimeReferenceOnlySDKDependencies Condition = "'$(
TargetPlatformVersion
)' == '8.1'" Include="Microsoft.VCLibs, Version=11.0"/>
2686
TargetPlatformVersion="$(
TargetPlatformVersion
)"
2737
TargetPlatformVersion="$(
TargetPlatformVersion
)"
2796
TargetPlatformVersion="$(
TargetPlatformVersion
)"
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Microsoft.Common.targets\ImportBefore\Microsoft.Cpp.VCLibs120Universal.targets (5)
36
TargetPlatformVersion="$(
TargetPlatformVersion
)"
46
TargetPlatformVersion="$(
TargetPlatformVersion
)"
95
TargetPlatformVersion="$(
TargetPlatformVersion
)"
105
SDKReferences="Microsoft.UniversalCRT.Debug, Version=$(
TargetPlatformVersion
)"
108
TargetPlatformVersion="$(
TargetPlatformVersion
)"