Skip to content

Commit 62d9990

Browse files
authored
README: Update notes for modern .NET (#33)
* README: Update notes for modern .NET as compatible Windows SDK MSI is available * Update ReadMe.md
1 parent 12ff711 commit 62d9990

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

ReadMe.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,15 @@ which requires the following components:
5050

5151
- .NET 9.0 SDK
5252
- Visual Studio 2022 v17.12
53-
- Windows 11 SDK 26100.1882
53+
- Windows 11 SDK 26100.2454
5454

55-
Warning: the MSI version of Windows 11 SDK (and the 26100 SDK provided in VS)
56-
is still at 26100.1742, which does not support the C#/WinRT mode of UWP XAML compiler.
57-
58-
If you installed it, you may see similar errors during build:
55+
If you see similar errors during build:
5956

6057
```
6158
error MSB4064: The "UsingCsWinRT" parameter is not supported by the "CompileXaml" task loaded from assembly: Microsoft.Windows.UI.Xaml.Build.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 from the path: C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Build.Tasks.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property.
6259
```
6360

64-
Installing a newer NuGet version of SDK on your project **may not work**,
65-
as VS will still prefer the globally installed version.
66-
67-
To workaround this, you need to manually upgrade the XAML compiler in Windows SDK.
68-
[Download the standalone XAML compiler from Microsoft](https://aka.ms/preview-uwp-support-for-dotnet9-windows-sdk)
69-
and follow the instructions in the README file.
61+
You may need to upgrade your Windows SDK, which can be downloaded from https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/.
7062

7163
## System Requirements
7264

0 commit comments

Comments
 (0)