3 assignments to MSBuild property TargetPlatformIdentifier
MSBuildFiles (3)
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (2)
66
<
TargetPlatformIdentifier
Condition="'$(TargetPlatformIdentifier)' == ''">$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
84
<
TargetPlatformIdentifier
Condition="'$(TargetPlatformIdentifier)' == 'Windows'">Windows</TargetPlatformIdentifier>
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (1)
89
<
TargetPlatformIdentifier
Condition="'$(TargetPlatformIdentifier)' == '' and '$(_EnableDefaultWindowsPlatform)' != 'false'">Windows</TargetPlatformIdentifier>
73 usages of MSBuild property TargetPlatformIdentifier
MSBuildFiles (73)
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\NuGet.Build.Tasks.Pack.targets (1)
144
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets (5)
133
and '$(
TargetPlatformIdentifier
)' != ''
138
<_Parameter1>$(
TargetPlatformIdentifier
)$(TargetPlatformVersion)</_Parameter1>
143
and '$(
TargetPlatformIdentifier
)' != ''
149
<_Parameter1>$(
TargetPlatformIdentifier
)$(SupportedOSPlatformVersion)</_Parameter1>
153
<_Parameter1>$(
TargetPlatformIdentifier
)</_Parameter1>
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets (4)
213
Condition=" '$(DisableImplicitFrameworkDefines)' != 'true' and '$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) " >
215
<_PlatformIdentifierForImplicitDefine>$(
TargetPlatformIdentifier
.ToUpperInvariant())</_PlatformIdentifierForImplicitDefine>
252
Condition=" '$(DisableImplicitFrameworkDefines)' != 'true' and '$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) " >
263
<_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(
TargetPlatformIdentifier
.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" />
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.Shared.targets (1)
243
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(_TargetFrameworkVersionWithoutV), '5.0')) and '$(
TargetPlatformIdentifier
)' != 'Windows' and '@(TransitiveFrameworkReference)' != ''">
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets (1)
151
<NETSdkError Condition="'$(
TargetPlatformIdentifier
)' != 'Windows'"
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets (3)
30
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(
TargetPlatformIdentifier
)' == 'Windows'
46
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
125
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (5)
1472
and '$(
TargetPlatformIdentifier
)' == 'Windows' ">true</ImportWindowsDesktopTargets>
1486
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Windows.targets" Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'" />
1490
<PropertyGroup Condition="'$(TargetPlatformMoniker)' == '' and '$(
TargetPlatformIdentifier
)' != ''">
1496
<TargetPlatformMoniker>$(
TargetPlatformIdentifier
),Version=$(TargetPlatformVersion)</TargetPlatformMoniker>
1497
<TargetPlatformDisplayName>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(
TargetPlatformIdentifier
), $(TargetPlatformVersion)))</TargetPlatformDisplayName>
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (17)
65
<PropertyGroup Condition="'$(TargetFramework)' != '' and ('$(
TargetPlatformIdentifier
)' == '' or '$(TargetPlatformVersion)' == '')">
66
<TargetPlatformIdentifier Condition="'$(
TargetPlatformIdentifier
)' == ''">$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
67
<TargetPlatformVersion Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4))</TargetPlatformVersion>
77
<_TargetPlatformVersionUsesCsWinRT3 Condition="'$(
TargetPlatformIdentifier
)' == 'Windows' and '$(TargetPlatformVersion)' != '' and $([System.Version]::Parse('$(TargetPlatformVersion)').Revision) == 1">true</_TargetPlatformVersionUsesCsWinRT3>
80
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' or ('$(
TargetPlatformIdentifier
)' == 'Windows' and !$([MSBuild]::VersionGreaterThanOrEquals($(TargetPlatformVersion), 10.0)))" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2))</TargetPlatformVersion>
84
<TargetPlatformIdentifier Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">Windows</TargetPlatformIdentifier>
123
Condition="'$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) And ('$(DesignTimeBuild)' != 'true' Or '@(MissingWorkloadPack)' == '')" >
126
<TargetPlatformSupported Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">true</TargetPlatformSupported>
127
<UseWorkloadsSpecificError Condition="($(
TargetPlatformIdentifier
) == 'ios' or $(
TargetPlatformIdentifier
) == 'tvos' or $(
TargetPlatformIdentifier
) == 'maccatalyst' or $(
TargetPlatformIdentifier
) == 'android' or $(
TargetPlatformIdentifier
.StartsWith('browser'))) and '$(MSBuildEnableWorkloadResolver)' != 'true'">true</UseWorkloadsSpecificError>
132
FormatArguments="$(
TargetPlatformIdentifier
)" />
136
FormatArguments="$(
TargetPlatformIdentifier
)" />
150
<TFTelemetry Include="TargetPlatformIdentifier" Value="$(
TargetPlatformIdentifier
)" />
283
FormatArguments="$(TargetPlatformVersion);$(
TargetPlatformIdentifier
);$(_ValidTargetPlatformVersions)" />
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Windows.targets (8)
19
and '$(
TargetPlatformIdentifier
)' == 'Windows'
34
<PropertyGroup Condition="'$(
TargetPlatformIdentifier
)' == 'windows' and '$(TargetPlatformVersion)' != '' and '$(EffectiveTargetPlatformVersion)' == ''" >
48
<PropertyGroup Condition="'$(
TargetPlatformIdentifier
)' == 'windows' and '$(TargetPlatformVersion)' == ''" >
53
<PropertyGroup Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">
86
'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '8.0')) and '$(
TargetPlatformIdentifier
)' == 'Windows' and '$(UseUwp)' == 'true' ">
124
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '8.0')) and '$(
TargetPlatformIdentifier
)' == 'Windows'"
172
and '$(
TargetPlatformIdentifier
)' == 'Windows'
186
Condition=" !('$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '8.0')) and '$(
TargetPlatformIdentifier
)' == 'Windows')
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props (1)
25
<ItemGroup Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">
C\hostedtoolcache\windows\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets (1)
47
<NuGetTargetMoniker Condition="'$(NuGetTargetMoniker)' == '' AND '$(UseTargetPlatformAsNuGetTargetMoniker)' == 'true'">$(
TargetPlatformIdentifier
),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3))</NuGetTargetMoniker>
C\hostedtoolcache\windows\dotnet\sdk-manifests\10.0.100-rc.2\microsoft.net.sdk.android\36.0.0-rc.2.332\WorkloadManifest.targets (2)
2
<ImportGroup Condition=" '$(
TargetPlatformIdentifier
)' == 'android' ">
11
<ItemGroup Condition=" '$(
TargetPlatformIdentifier
)' == 'android' and $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '9.0')) ">
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets (2)
735
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
1194
<TargetPlatformIdentifier>$(
TargetPlatformIdentifier
)</TargetPlatformIdentifier>
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (16)
89
<TargetPlatformIdentifier Condition="'$(
TargetPlatformIdentifier
)' == '' and '$(_EnableDefaultWindowsPlatform)' != 'false'">Windows</TargetPlatformIdentifier>
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>
597
<TargetPlatformRegistryBase Condition="'$(TargetPlatformRegistryBase)' == ''">Software\Microsoft\Microsoft SDKs\$(
TargetPlatformIdentifier
)</TargetPlatformRegistryBase>
762
<ProjectCapability Condition=" '$(
TargetPlatformIdentifier
)' == 'Windows' and '$(TargetPlatformVersion)' < 8.0 "
2257
<TargetPlatformIdentifier>$(
TargetPlatformIdentifier
)</TargetPlatformIdentifier>
2624
<SupportWindows81SDKs Condition="'$(SupportWindows81SDKs)' == '' and '$(Support81SDKs)' != 'false' and '$(
TargetPlatformIdentifier
)' == 'UAP'">true</SupportWindows81SDKs>
2629
<SupportWindowsPhone81SDKs Condition="'$(SupportWindowsPhone81SDKs)' == '' and '$(Support81SDKs)' != 'false' and '$(
TargetPlatformIdentifier
)' == 'UAP'">false</SupportWindowsPhone81SDKs>
2646
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2728
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2779
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2836
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Microsoft.Common.targets\ImportBefore\Microsoft.Cpp.VCLibs120Universal.targets (6)
19
<Target Name="_FixVCLibs120References" Condition="'$(AppxPackage)' == 'true' and '$(
TargetPlatformIdentifier
)' == 'UAP'">
37
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
47
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
73
Condition="'$(DisableImplicitUCRTReference)' == '' and '$(AppxPackage)' == 'true' and '$(
TargetPlatformIdentifier
)' == 'UAP'">
96
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
109
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"