Skip to content

Commit 8b58455

Browse files
committed
Restrict reference to Microsoft.Windows.SDK.CPP to non-head projects.
1 parent 00974a2 commit 8b58455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MultiTarget/PackageReferences/Uwp.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<PackageReference Condition="'$(MultiTargetPlatformIdentifier)' == 'windows'" Include="Microsoft.Windows.CsWinRT" Version="2.1.6" PrivateAssets="all" />
55

66
<!-- Temp workaround until next Windows SDK servicing update -->
7-
<PackageReference Condition="'$(HasWinUI)' == 'true' AND '$(MultiTargetPlatformIdentifier)' == 'windows'" Include="Microsoft.Windows.SDK.CPP" Version="10.0.26100.2454" PrivateAssets="all" />
7+
<PackageReference Condition="'$(HasWinUI)' == 'true' AND '$(MultiTargetPlatformIdentifier)' == 'windows' AND '$(IsDeployableHead)' != 'true'" Include="Microsoft.Windows.SDK.CPP" Version="10.0.26100.2454" PrivateAssets="all" />
88
</ItemGroup>
99
</Project>

0 commit comments

Comments
 (0)