3 assignments to MSBuild property TargetPlatformSdkPath
MSBuildFiles (3)
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (3)
91
<
TargetPlatformSdkPath
Condition="'$(TargetPlatformSdkPath)' == '' and '$(TargetPlatformSdkRootOverride)' != ''">$(TargetPlatformSdkRootOverride)\</TargetPlatformSdkPath>
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>
7 usages of MSBuild property TargetPlatformSdkPath
MSBuildFiles (7)
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (7)
91
<TargetPlatformSdkPath Condition="'$(
TargetPlatformSdkPath
)' == '' and '$(TargetPlatformSdkRootOverride)' != ''">$(TargetPlatformSdkRootOverride)\</TargetPlatformSdkPath>
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>
94
<TargetPlatformSdkMetadataLocation Condition="'$(TargetPlatformSdkMetadataLocation)' == '' and Exists('$(
TargetPlatformSdkPath
)')">$(
TargetPlatformSdkPath
)Windows Metadata</TargetPlatformSdkMetadataLocation>
95
<TargetPlatformSdkMetadataLocation Condition="Exists('$(
TargetPlatformSdkPath
)') and ('$(TargetPlatformSdkMetadataLocation)' == '' or !Exists('$(TargetPlatformSdkMetadataLocation)'))">$(
TargetPlatformSdkPath
)References\CommonConfiguration\Neutral</TargetPlatformSdkMetadataLocation>