3 assignments to MSBuild property TargetPlatformIdentifier
MSBuildFiles (3)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (2)
66
<
TargetPlatformIdentifier
Condition="'$(TargetPlatformIdentifier)' == ''">$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
71
<
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>
67 usages of MSBuild property TargetPlatformIdentifier
MSBuildFiles (67)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\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\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackTool.targets (1)
123
<NETSdkError Condition=" '$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets (4)
202
Condition=" '$(DisableImplicitFrameworkDefines)' != 'true' and '$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) " >
204
<_PlatformIdentifierForImplicitDefine>$(
TargetPlatformIdentifier
.ToUpperInvariant())</_PlatformIdentifierForImplicitDefine>
232
Condition=" '$(DisableImplicitFrameworkDefines)' != 'true' and '$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) " >
235
<_ImplicitDefineConstant Include="@(_SupportedPlatformCompatibleVersions->Distinct()->'$(
TargetPlatformIdentifier
.ToUpper())%(Identity)_OR_GREATER'->Replace('.', '_'))" />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\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\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets (1)
141
<NETSdkError Condition="'$(
TargetPlatformIdentifier
)' != 'Windows'"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets (3)
26
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(
TargetPlatformIdentifier
)' == 'Windows'">
40
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
95
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (5)
1322
and '$(
TargetPlatformIdentifier
)' == 'Windows' ">true</ImportWindowsDesktopTargets>
1336
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Windows.targets" Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'" />
1340
<PropertyGroup Condition="'$(TargetPlatformMoniker)' == '' and '$(
TargetPlatformIdentifier
)' != ''">
1346
<TargetPlatformMoniker>$(
TargetPlatformIdentifier
),Version=$(TargetPlatformVersion)</TargetPlatformMoniker>
1347
<TargetPlatformDisplayName>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(
TargetPlatformIdentifier
), $(TargetPlatformVersion)))</TargetPlatformDisplayName>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (15)
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>
68
<TargetPlatformVersion Condition="'$(TargetPlatformVersion)' == '' or ('$(
TargetPlatformIdentifier
)' == 'Windows' and !$([MSBuild]::VersionGreaterThanOrEquals($(TargetPlatformVersion), 10.0)))" >$([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2))</TargetPlatformVersion>
71
<TargetPlatformIdentifier Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">Windows</TargetPlatformIdentifier>
110
Condition="'$(
TargetPlatformIdentifier
)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) And ('$(DesignTimeBuild)' != 'true' Or '@(MissingWorkloadPack)' == '')" >
113
<TargetPlatformSupported Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">true</TargetPlatformSupported>
114
<UseWorkloadsSpecificError Condition="($(
TargetPlatformIdentifier
) == 'ios' or $(
TargetPlatformIdentifier
) == 'tvos' or $(
TargetPlatformIdentifier
) == 'maccatalyst' or $(
TargetPlatformIdentifier
) == 'android' or $(
TargetPlatformIdentifier
.StartsWith('browser'))) and '$(MSBuildEnableWorkloadResolver)' != 'true'">true</UseWorkloadsSpecificError>
119
FormatArguments="$(
TargetPlatformIdentifier
)" />
123
FormatArguments="$(
TargetPlatformIdentifier
)" />
245
FormatArguments="$(TargetPlatformVersion);$(
TargetPlatformIdentifier
);$(_ValidTargetPlatformVersions)" />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Windows.targets (3)
19
and '$(
TargetPlatformIdentifier
)' == 'Windows'
33
<PropertyGroup Condition="'$(
TargetPlatformIdentifier
)' == 'windows' and '$(TargetPlatformVersion)' == ''" >
37
<PropertyGroup Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props (1)
26
<SdkSupportedTargetPlatformVersion Condition="'$(
TargetPlatformIdentifier
)' == 'Windows'" Include="@(WindowsSdkSupportedTargetPlatformVersion)" />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\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\8.0.100\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets (1)
143
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
C\hostedtoolcache\windows\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.android\34.0.0-rc.2.468\WorkloadManifest.targets (2)
2
<ImportGroup Condition=" '$(
TargetPlatformIdentifier
)' == 'android' ">
11
<ItemGroup Condition=" '$(
TargetPlatformIdentifier
)' == 'android' and $([MSBuild]::VersionEquals($(TargetFrameworkVersion), '7.0')) ">
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets (2)
699
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
1145
<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 "
2245
<TargetPlatformIdentifier>$(
TargetPlatformIdentifier
)</TargetPlatformIdentifier>
2583
<SupportWindows81SDKs Condition="'$(SupportWindows81SDKs)' == '' and '$(Support81SDKs)' != 'false' and '$(
TargetPlatformIdentifier
)' == 'UAP'">true</SupportWindows81SDKs>
2588
<SupportWindowsPhone81SDKs Condition="'$(SupportWindowsPhone81SDKs)' == '' and '$(Support81SDKs)' != 'false' and '$(
TargetPlatformIdentifier
)' == 'UAP'">false</SupportWindowsPhone81SDKs>
2605
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2687
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2738
TargetPlatformIdentifier="$(
TargetPlatformIdentifier
)"
2795
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
)"