@@ -45,15 +45,17 @@ This option is supported only in projects that use .NET 6 (or later) and target
45
45
* **net6.0-windows10.0.17763.0**: If your app targets Windows 10, version 1809.
46
46
* **net6.0-windows10.0.18362.0**: If your app targets Windows 10, version 1903.
47
47
* **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.
49
51
50
52
For example, the following element is for a project that targets Windows 10, version 2004.
51
53
52
54
```xml
53
55
<TargetFramework >net6.0-windows10.0.19041.0</TargetFramework >
54
56
```
55
57
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**.
57
59
58
60
3. Save your changes and close the project file.
59
61
@@ -131,6 +133,9 @@ If your project multi-targets .NET 6 (or later) and earlier versions (including
131
133
* **net6.0-windows10.0.17763.0**: If your app targets Windows 10, version 1809.
132
134
* **net6.0-windows10.0.18362.0**: If your app targets Windows 10, version 1903.
133
135
* **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.
134
139
* For .NET Core 3.x, use **netcoreapp3.0** or **netcoreapp3.1**.
135
140
* For .NET Framework, use **net46**.
136
141
0 commit comments