Skip to content

Commit 7a1593e

Browse files
wadepickettCopilot
andauthored
Not-latest includes updated for post .NET 10 (#36355)
* Not-latest includes updated for post .NET 10 * Exclude > 10 until v11 added to selector * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 963d36e commit 7a1593e

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
:::moniker range="< aspnetcore-9.0"
1+
:::moniker range="< aspnetcore-10.0"
22
> [!NOTE]
3-
> This isn't the latest version of this article. For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
3+
> This isn't the latest version of this article. For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
44
:::moniker-end
55

6-
:::moniker range="> aspnetcore-9.0"
6+
<!-- Exclude until .NET 11 preview is added to the version selector collection
7+
:::moniker range="> aspnetcore-10.0"
78
> [!IMPORTANT]
89
> This information relates to a pre-release product that may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
910
>
10-
> For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
11+
> For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
1112
:::moniker-end
13+
-->
1214

1315
<!--
1416
Include either this file or 'not-latest-version.md' at the top of articles.
1517
1618
'not-latest-version.md': Includes not-supported content.
1719
'not-latest-version-without-not-supported-content.md' (this file): Doesn't include not-supported content.
1820
19-
Use this file in articles that target >=8.0 until 9.0 reaches EOL, and then update those
21+
Use this file in articles that target >=8.0 until 10.0 reaches EOL, and then update those
2022
articles to use 'not-latest-version.md'. For articles that target >=7.0, 'not-latest-version.md'
2123
can be used without creating a zone/file moniker range mismatch error.
2224
2325
When a new version is released, it might be necessary to temporarily comment out the current version
2426
moniker range section until the new moniker is created.
2527
2628
Markdown to include this file:
27-
2829
[!INCLUDE[](~/includes/not-latest-version-without-not-supported-content.md)]
2930
-->

aspnetcore/includes/not-latest-version.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
:::moniker range="< aspnetcore-9.0"
1+
:::moniker range="< aspnetcore-10.0"
22
> [!NOTE]
3-
> This isn't the latest version of this article. For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
3+
> This isn't the latest version of this article. For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
44
:::moniker-end
55

66
:::moniker range="= aspnetcore-7.0 || = aspnetcore-5.0 || = aspnetcore-3.0 || = aspnetcore-3.1 || = aspnetcore-2.0"
77
[!INCLUDE[](~/includes/out-of-support.md)]
88
:::moniker-end
99

10-
:::moniker range="> aspnetcore-9.0"
10+
<!-- Exclude until .NET 11 preview is added to the version selector collection
11+
:::moniker range="> aspnetcore-10.0"
1112
> [!IMPORTANT]
1213
> This information relates to a pre-release product that may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
1314
>
14-
> For the current release, see the [.NET 9 version of this article](?view=aspnetcore-9.0&preserve-view=true).
15+
> For the current release, see the [.NET 10 version of this article](?view=aspnetcore-10.0&preserve-view=true).
1516
:::moniker-end
17+
-->
1618

1719
<!--
1820
Include either this file or 'not-latest-version-without-not-supported-content.md' at the top
@@ -21,7 +23,7 @@ of articles.
2123
'not-latest-version.md' (this file): Includes not-supported content.
2224
'not-latest-version-without-not-supported-content.md': Doesn't include not-supported content.
2325
24-
Use this file in articles that target >=7.0. For articles that target >=8.0 prior to 9.0
26+
Use this file in articles that target >=7.0. For articles that target >=8.0 prior to 10.0
2527
reaching EOL, 'not-latest-version-without-not-supported-content.md' must be used to avoid
2628
a zone/file moniker range mismatch error.
2729

0 commit comments

Comments
 (0)