Skip to content

Commit 6125e3e

Browse files
authored
Merge pull request #9646 from Kuldeep-MS/fix/wpf-debug-targets
Setting RuntimeIdentifier to win-x64 incase PlatformTarget is not available
2 parents bafcb1c + 7df0ad8 commit 6125e3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/wpf-debug.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
<PropertyGroup>
1414
<WpfConfig Condition="'$(WpfConfig)'==''">Debug</WpfConfig>
15-
<RuntimeIdentifier>win-$(PlatformTarget)</RuntimeIdentifier>
15+
<RuntimeIdentifier Condition="'$(PlatformTarget)' == ''">win-x64</RuntimeIdentifier>
16+
<RuntimeIdentifier Condition="'$(PlatformTarget)' != ''">win-$(PlatformTarget)</RuntimeIdentifier>
1617

1718
<WpfArtifactsPackagesCommonPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\'))\artifacts\packaging</WpfArtifactsPackagesCommonPath>
1819
<WpfPlatformTargetArtifactsDirectory Condition="'$(PlatformTarget)'=='x64'">x64\</WpfPlatformTargetArtifactsDirectory>

0 commit comments

Comments
 (0)