Skip to content

Commit 8d56d3f

Browse files
committed
Only use Microsoft.Windows.SDK.CPP on modern .NET
1 parent 7fae1c0 commit 8d56d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MultiTarget/PackageReferences/Uwp/Microsoft.Windows.SDK.CPP.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- Condition must be on a <When> statement in its own file for this to work in Visual Studio. https://stackoverflow.com/a/16557059 -->
33
<Choose>
44
<!-- Temp workaround until next Windows SDK servicing update -->
5-
<When Condition="'$(HasWinUI)' == 'true'" >
5+
<When Condition="'$(HasWinUI)' == 'true' AND '$(MultiTargetPlatformIdentifier)' == 'windows'" >
66
<ItemGroup>
77
<PackageReference Include="Microsoft.Windows.SDK.CPP" Version="10.0.26100.2454" PrivateAssets="all" />
88
</ItemGroup>

0 commit comments

Comments
 (0)