Skip to content

Commit a55e319

Browse files
Update desktop-to-uwp-enhance.md (#5267)
Add more TFM strings for Windows 11 versions
1 parent dc460d7 commit a55e319

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

hub/apps/desktop/modernize/desktop-to-uwp-enhance.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,17 @@ This option is supported only in projects that use .NET 6 (or later) and target
4545
* **net6.0-windows10.0.17763.0**: If your app targets Windows 10, version 1809.
4646
* **net6.0-windows10.0.18362.0**: If your app targets Windows 10, version 1903.
4747
* **net6.0-windows10.0.19041.0**: If your app targets Windows 10, version 2004.
48-
* **net6.0-windows10.0.22000.0**: If your app targets Windows 11.
48+
* **net6.0-windows10.0.22000.0**: If your app targets initial release of Windows 11.
49+
* **net6.0-windows10.0.22621.0**: If your app targets Windows 11, version 22H2.
50+
* **net6.0-windows10.0.26100.0**: If your app targets Windows 11, version 24H2.
4951

5052
For example, the following element is for a project that targets Windows 10, version 2004.
5153

5254
```xml
5355
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
5456
```
5557

56-
In later versions of .NET, you can replace the value with the relevant version, for example **net6.0-windows10.0.19041.0**.
58+
In later versions of .NET, you can replace the value with the relevant version, for example **net8.0-windows10.0.19041.0**.
5759

5860
3. Save your changes and close the project file.
5961

@@ -131,6 +133,9 @@ If your project multi-targets .NET 6 (or later) and earlier versions (including
131133
* **net6.0-windows10.0.17763.0**: If your app targets Windows 10, version 1809.
132134
* **net6.0-windows10.0.18362.0**: If your app targets Windows 10, version 1903.
133135
* **net6.0-windows10.0.19041.0**: If your app targets Windows 10, version 2004.
136+
* **net6.0-windows10.0.22000.0**: If your app targets initial release of Windows 11.
137+
* **net6.0-windows10.0.22621.0**: If your app targets Windows 11, version 22H2.
138+
* **net6.0-windows10.0.26100.0**: If your app targets Windows 11, version 24H2.
134139
* For .NET Core 3.x, use **netcoreapp3.0** or **netcoreapp3.1**.
135140
* For .NET Framework, use **net46**.
136141

0 commit comments

Comments
 (0)