You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/install/includes/package-manager-failed-to-find-deb.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ If you receive an error message similar to **Unable to locate package {dotnet-pa
4
4
There are two placeholders in the following set of commands.
5
5
6
6
-`{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.
8
8
9
9
-`{os-version}`\
10
10
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.
Copy file name to clipboardExpand all lines: docs/core/install/includes/package-manager-heading-hack-pkgname.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,20 @@ Chooses the SDK or the runtime. Valid options are:
18
18
-**version**\
19
19
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:
20
20
21
+
- 7.0
21
22
- 5.0
22
23
- 3.1
23
-
- 3.0
24
24
- 2.1
25
25
26
26
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).
27
27
28
28
### Examples
29
29
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`
31
31
- Install the .NET Core 2.1 runtime: `dotnet-runtime-2.1`
32
32
- Install the .NET 5 SDK: `dotnet-sdk-5.0`
33
33
- Install the .NET Core 3.1 SDK: `dotnet-sdk-3.1`
34
34
35
35
### Package missing
36
36
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).
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`.
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:
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.
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
-
142
98
## CentOS Stream 9 ✔️
143
99
144
100
.NET is included in the AppStream repositories for CentOS Stream 9.
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.
Copy file name to clipboardExpand all lines: docs/core/install/linux-snap.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,6 @@ Snap packages for the .NET SDK are all published under the same identifier: `dot
51
51
|--------------|--------------------------|
52
52
| 7 (STS) |`7.0` or `latest/stable`|
53
53
| 6 (LTS) |`6.0` or `lts/stable`|
54
-
| 5 |`5.0`|
55
-
| 3.1 (LTS) |`3.1`|
56
54
57
55
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:
58
56
@@ -77,7 +75,7 @@ Snap packages for the .NET Runtime are each published under their own package id
Copy file name to clipboardExpand all lines: docs/core/install/localized-intellisense.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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.
4
4
ms.date: 11/09/2022
5
5
---
6
6
# How to install localized IntelliSense files for .NET
@@ -15,7 +15,7 @@ ms.date: 11/09/2022
15
15
16
16
## Prerequisites
17
17
18
-
-[.NET Core 3.1 SDK](https://dotnet.microsoft.com/download/dotnet) or [.NET 5 SDK](https://dotnet.microsoft.com/download/dotnet/5.0).
-[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.
20
20
21
21
## Download and install the localized IntelliSense files
| ASP.NET Core 2.1 |[`Microsoft.DotNet.Web.ProjectTemplates.2.1`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.2.1)|
186
187
| ASP.NET Core 2.2 |[`Microsoft.DotNet.Web.ProjectTemplates.2.2`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.2.2)|
187
188
| ASP.NET Core 3.0 |[`Microsoft.DotNet.Web.ProjectTemplates.3.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.3.0)|
188
189
| ASP.NET Core 3.1 |[`Microsoft.DotNet.Web.ProjectTemplates.3.1`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.3.1)|
189
190
| ASP.NET Core 5.0 |[`Microsoft.DotNet.Web.ProjectTemplates.5.0`](https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.5.0)|
190
191
| 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)|
191
193
192
194
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.
193
195
@@ -199,7 +201,7 @@ For example, the .NET 7 SDK includes templates for a console app targeting .NET
199
201
200
202
If you see an error message, you need to install the templates.
201
203
202
-
01. Install the .NET Core 3.0 project templates.
204
+
01. Install the .NET Core 3.1 project templates.
203
205
204
206
```dotnetcli
205
207
dotnet new install Microsoft.DotNet.Common.ProjectTemplates.3.1
0 commit comments