Skip to content

Commit 0d4d476

Browse files
Pin WindowsSdkPackageVersion (#2613)
Co-authored-by: Brandon Minnick <[email protected]>
1 parent d7ab26b commit 0d4d476

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>
2323
<MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation>
2424

25+
<!-- WindowsAppSDK
26+
We should keep this in sync with .NET MAUI https://github.com/dotnet/maui/blob/8ee00e00f603cd8a420a3467daddaf3935c8c587/Directory.Build.props#L142
27+
This will prevent transitive dependencies from causing conflicts when they're not aligned.
28+
-->
29+
<WindowsSdkPackageVersion>10.0.19041.44</WindowsSdkPackageVersion>
30+
2531
<!-- https://learn.microsoft.com/dotnet/core/deploying/native-aot/?tabs=net8plus%2Cwindows -->
2632
<StripSymbols>false</StripSymbols>
2733
<TrimmerSingleWarn>false</TrimmerSingleWarn>

0 commit comments

Comments
 (0)