Skip to content

Commit d9592b9

Browse files
authored
Merge pull request #836 from unoplatform/dev/agzi/AddMoreInfoForWindowsSdkPackageVersion
chore: Add more details for 5.4 migration regarding temporary adjustment of WindowsSdkPackageVersion
2 parents 80cdff1 + 6cf9362 commit d9592b9

File tree

12 files changed

+69
-12
lines changed

12 files changed

+69
-12
lines changed

UI/ChatGPT/src/ChatGPT/ChatGPT.csproj

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,26 @@
2020
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
2121
<ApplicationVersion>1</ApplicationVersion>
2222

23-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
23+
<!--
24+
If you encounter this error message:
2425
26+
error NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll.
27+
Please update to a newer .NET SDK in order to reference this assembly.
28+
29+
This means that the two packages below must be aligned with the "build" version number of
30+
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
31+
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
32+
-->
33+
34+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
35+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
36+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
37+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
38+
39+
<!--
40+
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
41+
https://aka.platform.uno/singleproject-features
42+
-->
2543
<UnoFeatures>
2644
CSharpMarkup;
2745
Material;

UI/MVUX/src/MVUX/MVUX.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
2828
-->
2929

30+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
31+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
32+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
33+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
34+
3035
<!--
3136
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
3237
https://aka.platform.uno/singleproject-features
@@ -45,7 +50,6 @@
4550
Localization;
4651
Navigation;
4752
</UnoFeatures>
48-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
4953
</PropertyGroup>
5054

5155
</Project>

reference/Commerce/src/Commerce/Commerce.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
3236
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--

reference/Counter/CSharp-MVUX/Counter/Counter.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32-
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
36+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--
3539
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
@@ -39,6 +43,5 @@
3943
CSharpMarkup;
4044
MVUX;
4145
</UnoFeatures>
42-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
4346
</PropertyGroup>
4447
</Project>

reference/Counter/CSharp-MVVM/Counter/Counter.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
3236
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--

reference/Counter/XAML-MVUX/Counter/Counter.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32-
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
36+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--
3539
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
@@ -38,6 +42,5 @@
3842
<UnoFeatures>
3943
MVUX;
4044
</UnoFeatures>
41-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
4245
</PropertyGroup>
4346
</Project>

reference/SimpleCalc/CSharp-MVUX/SimpleCalculator/SimpleCalculator.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3131
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3232
-->
33-
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
33+
34+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
35+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
36+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
37+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3438

3539
<!--
3640
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
@@ -43,7 +47,6 @@
4347
MVUX;
4448
ExtensionsCore;
4549
</UnoFeatures>
46-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
4750
</PropertyGroup>
4851

4952
</Project>

reference/SimpleCalc/CSharp-MVVM/SimpleCalculator/SimpleCalculator.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3131
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3232
-->
33+
34+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
35+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
36+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
3337
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3438

3539
<!--

reference/SimpleCalc/XAML-MVUX/SimpleCalculator/SimpleCalculator.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32-
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
36+
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--
3539
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
@@ -41,7 +45,6 @@
4145
MVUX;
4246
ExtensionsCore;
4347
</UnoFeatures>
44-
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
4548
</PropertyGroup>
4649

4750
</Project>

reference/SimpleCalc/XAML-MVVM/SimpleCalculator/SimpleCalculator.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
3030
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
3131
-->
32+
33+
<!-- Uno Platform 5.4 has been updated to use WinAppSDK 1.6, which necessitates a temporary version adjustment until newer versions of .NET 8 SDKs are released. -->
34+
<!-- Comment this WindowsSdkPackageVersion line again once .NET SDK version 8.0.403 or later is available. -->
35+
<!-- For more details, refer to: https://aka.platform.uno/migrate-from-previous#uno-platform-54 -->
3236
<WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
3337

3438
<!--

0 commit comments

Comments
 (0)