Skip to content

Commit 730371c

Browse files
authored
Remove some more 3.1 references; clean a few things (#33173)
1 parent a5d376f commit 730371c

File tree

7 files changed

+11
-56
lines changed

7 files changed

+11
-56
lines changed

docs/core/install/includes/package-manager-failed-to-find-deb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ If you receive an error message similar to **Unable to locate package {dotnet-pa
44
There are two placeholders in the following set of commands.
55

66
- `{dotnet-package}`\
7-
This represents the .NET package you're installing, such as `aspnetcore-runtime-3.1`. This is used in the following `sudo apt-get install` command.
7+
This represents the .NET package you're installing, such as `aspnetcore-runtime-7.0`. This is used in the following `sudo apt-get install` command.
88

99
- `{os-version}`\
1010
This represents the distribution version you're on. This is used in the `wget` command below. The distribution version is the numerical value, such as `20.04` on Ubuntu or `10` on Debian.

docs/core/install/includes/package-manager-heading-hack-pkgname.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ Chooses the SDK or the runtime. Valid options are:
1818
- **version**\
1919
The version of the SDK or runtime to install. This article will always give the instructions for the latest supported version. Valid options are any released version, such as:
2020

21+
- 7.0
2122
- 5.0
2223
- 3.1
23-
- 3.0
2424
- 2.1
2525

2626
It's possible the SDK/runtime you're trying to download is not available for your Linux distribution. For a list of supported distributions, see [Install .NET on Linux](../linux.md).
2727

2828
### Examples
2929

30-
- Install the ASP.NET Core 5.0 runtime: `aspnetcore-runtime-5.0`
30+
- Install the ASP.NET Core 7.0 runtime: `aspnetcore-runtime-7.0`
3131
- Install the .NET Core 2.1 runtime: `dotnet-runtime-2.1`
3232
- Install the .NET 5 SDK: `dotnet-sdk-5.0`
3333
- Install the .NET Core 3.1 SDK: `dotnet-sdk-3.1`
3434

3535
### Package missing
3636

37-
If the package-version combination doesn't work, it's not available. For example, there isn't an ASP.NET Core SDK, the SDK components are included with the .NET SDK. The value `aspnetcore-sdk-2.2` is incorrect and should be `dotnet-sdk-2.2`. For a list of Linux distributions supported by .NET, see [.NET dependencies and requirements](../linux.md).
37+
If the package-version combination doesn't work, it's not available. For example, there isn't an ASP.NET Core SDK, the SDK components are included with the .NET SDK. The value `aspnetcore-sdk-7.0` is incorrect and should be `dotnet-sdk-7.0`. For a list of Linux distributions supported by .NET, see [.NET dependencies and requirements](../linux.md).

docs/core/install/linux-rhel.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -95,50 +95,6 @@ source scl_source enable rh-dotnet60
9595

9696
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime that doesn't include ASP.NET Core support: replace `rh-dotnet60-aspnetcore-runtime-6.0` in the preceding command with `rh-dotnet60-dotnet-runtime-6.0`.
9797

98-
## RHEL 7 ✔️ .NET Core 3.1
99-
100-
[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)]
101-
102-
The following command installs the `scl-utils` package:
103-
104-
```bash
105-
sudo yum install scl-utils
106-
```
107-
108-
### Install the SDK
109-
110-
.NET SDK allows you to develop apps with .NET Core. If you install .NET SDK, you don't need to install the corresponding runtime. To install .NET SDK, run the following commands:
111-
112-
```bash
113-
subscription-manager repos --enable=rhel-7-server-dotnet-rpms
114-
yum install rh-dotnet31 -y
115-
scl enable rh-dotnet31 bash
116-
```
117-
118-
Red Hat does not recommend permanently enabling `rh-dotnet31` because it may affect other programs. For example, `rh-dotnet31` includes a version of `libcurl` that differs from the base RHEL version. This may lead to issues in programs that do not expect a different version of `libcurl`. If you want to enable `rh-dotnet` permanently, add the following line to your _~/.bashrc_ file.
119-
120-
```bash
121-
source scl_source enable rh-dotnet31
122-
```
123-
124-
### Install the runtime
125-
126-
The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.
127-
128-
```bash
129-
subscription-manager repos --enable=rhel-7-server-dotnet-rpms
130-
yum install rh-dotnet31-aspnetcore-runtime-3.1 -y
131-
scl enable rh-dotnet31 bash
132-
```
133-
134-
Red Hat does not recommend permanently enabling `rh-dotnet31` because it may affect other programs. For example, `rh-dotnet31` includes a version of `libcurl` that differs from the base RHEL version. This may lead to issues in programs that do not expect a different version of `libcurl`. If you want to enable `rh-dotnet31` permanently, add the following line to your _~/.bashrc_ file.
135-
136-
```bash
137-
source scl_source enable rh-dotnet31
138-
```
139-
140-
As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime which doesn't include ASP.NET Core support. To install .NET Core Runtime, replace `rh-dotnet31-aspnetcore-runtime-3.1` in the commands above with `rh-dotnet31-dotnet-runtime-3.1`.
141-
14298
## CentOS Stream 9 ✔️
14399

144100
.NET is included in the AppStream repositories for CentOS Stream 9.

docs/core/install/linux-scripted-manual.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ First, download a **binary** release for either the SDK or the runtime from one
119119

120120
- ✔️ [.NET 7 downloads](https://dotnet.microsoft.com/download/dotnet/7.0)
121121
- ✔️ [.NET 6 downloads](https://dotnet.microsoft.com/download/dotnet/6.0)
122-
- ✔️ [.NET Core 3.1 downloads](https://dotnet.microsoft.com/download/dotnet/3.1)
123122
- [All .NET Core downloads](https://dotnet.microsoft.com/download/dotnet)
124123

125124
Next, extract the downloaded file and use the `export` command to set `DOTNET_ROOT` to the extracted folder's location and then ensure .NET is in PATH. This should make the .NET CLI commands available at the terminal.

docs/core/install/linux-snap.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ Snap packages for the .NET SDK are all published under the same identifier: `dot
5151
|--------------|--------------------------|
5252
| 7 (STS) | `7.0` or `latest/stable` |
5353
| 6 (LTS) | `6.0` or `lts/stable` |
54-
| 5 | `5.0` |
55-
| 3.1 (LTS) | `3.1` |
5654

5755
Use the `snap install` command to install a .NET SDK snap package. Use the `--channel` parameter to indicate which version to install. If this parameter is omitted, `latest/stable` is used. In this example, `7.0` is specified:
5856

@@ -77,7 +75,7 @@ Snap packages for the .NET Runtime are each published under their own package id
7775
| 7 (STS) | `dotnet-runtime-70` |
7876
| 6 (LTS) | `dotnet-runtime-60` |
7977
| 5 | `dotnet-runtime-50` |
80-
| 3.1 (LTS) | `dotnet-runtime-31` |
78+
| 3.1 | `dotnet-runtime-31` |
8179
| 3.0 | `dotnet-runtime-30` |
8280
| 2.2 | `dotnet-runtime-22` |
8381
| 2.1 | `dotnet-runtime-21` |

docs/core/install/localized-intellisense.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Install localized IntelliSense files
3-
description: Learn how to set up your development machine to use localized IntelliSense files for .NET 5 projects (including .NET Core) in Visual Studio.
3+
description: Learn how to set up your development machine to use localized IntelliSense files for .NET projects (including .NET Core) in Visual Studio.
44
ms.date: 11/09/2022
55
---
66
# How to install localized IntelliSense files for .NET
@@ -15,7 +15,7 @@ ms.date: 11/09/2022
1515
1616
## Prerequisites
1717

18-
- [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet) or [.NET 5 SDK](https://dotnet.microsoft.com/download/dotnet/5.0).
18+
- [.NET SDK](https://dotnet.microsoft.com/download/dotnet/).
1919
- [Visual Studio 2019 version 16.3](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=learn.microsoft.com&utm_campaign=inline+link&utm_content=download+vs2019) or a later version.
2020

2121
## Download and install the localized IntelliSense files
@@ -36,7 +36,7 @@ ms.date: 11/09/2022
3636

3737
| SDK type | Path |
3838
|-----------------------|------------------------------------|
39-
| .NET 5 and .NET Core | *Microsoft.NETCore.App.Ref* |
39+
| .NET 6 and later | *Microsoft.NETCore.App.Ref* |
4040
| Windows Desktop | *Microsoft.WindowsDesktop.App.Ref* |
4141
| .NET Standard | *NETStandard.Library.Ref* |
4242

docs/core/install/templates.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,14 @@ The .NET templates are available on NuGet, and you can install them like any oth
182182
| .NET Core 3.1 | [`Microsoft.DotNet.Common.ProjectTemplates.3.1`](https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.3.1) |
183183
| .NET 5.0 | [`Microsoft.DotNet.Common.ProjectTemplates.5.0`](https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.5.0) |
184184
| .NET 6.0 | [`Microsoft.DotNet.Common.ProjectTemplates.6.0`](https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.6.0) |
185+
| .NET 7.0 | [`Microsoft.DotNet.Common.ProjectTemplates.7.0`](https://www.nuget.org/packages/Microsoft.DotNet.Common.ProjectTemplates.7.0) |
185186
| ASP.NET Core 2.1 | [`Microsoft.DotNet.Web.ProjectTemplates.2.1`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.2.1) |
186187
| ASP.NET Core 2.2 | [`Microsoft.DotNet.Web.ProjectTemplates.2.2`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.2.2) |
187188
| ASP.NET Core 3.0 | [`Microsoft.DotNet.Web.ProjectTemplates.3.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.3.0) |
188189
| ASP.NET Core 3.1 | [`Microsoft.DotNet.Web.ProjectTemplates.3.1`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.3.1) |
189190
| ASP.NET Core 5.0 | [`Microsoft.DotNet.Web.ProjectTemplates.5.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.5.0) |
190191
| ASP.NET Core 6.0 | [`Microsoft.DotNet.Web.ProjectTemplates.6.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.6.0) |
192+
| ASP.NET Core 7.0 | [`Microsoft.DotNet.Web.ProjectTemplates.7.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.7.0) |
191193

192194
For example, the .NET 7 SDK includes templates for a console app targeting .NET 7. If you wanted to target .NET Core 3.1, you would need to install the 3.1 template package.
193195

@@ -199,7 +201,7 @@ For example, the .NET 7 SDK includes templates for a console app targeting .NET
199201
200202
If you see an error message, you need to install the templates.
201203
202-
01. Install the .NET Core 3.0 project templates.
204+
01. Install the .NET Core 3.1 project templates.
203205
204206
```dotnetcli
205207
dotnet new install Microsoft.DotNet.Common.ProjectTemplates.3.1

0 commit comments

Comments
 (0)