Skip to content

Commit d6eea1d

Browse files
authored
Merge pull request #8212 from dotnet/prvfeb8
Artifacts for .NET 8.0 Preview 1 Release
2 parents d0bc12c + 2293f6c commit d6eea1d

13 files changed

+1231
-4
lines changed

release-notes/8.0/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# .NET 8
2+
3+
[.NET 8](https://devblogs.microsoft.com/dotnet/announcing-dotnet-8/) will be a [Long Term Support (LTS)](../../release-policies.md) release and will be supported for 3 years, from November 2023 to November 2026. It is [supported by Microsoft](../../microsoft-support.md) on [multiple operating systems](supported-os.md).
4+
5+
- [Downloads](https://dotnet.microsoft.com/download/dotnet/8.0)
6+
- [Linux Package Managers](https://docs.microsoft.com/dotnet/core/install/linux)
7+
- [Containers](https://mcr.microsoft.com/catalog?search=dotnet/)
8+
- [Supported OSes](supported-os.md)
9+
- [Known Issues](known-issues.md)
10+
- [Installation instructions](install.md)
11+
12+
## Releases
13+
14+
| Date | Release |
15+
| :-- | :-- |
16+
| 2023/02/21 | [8.0.0 Preview 1](https://github.com/dotnet/core/blob/main/release-notes/8.0/preview/8.0.0-preview.1.md) |

release-notes/8.0/install-linux.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# .NET 8 installation instructions for Linux
2+
3+
The following instructions demonstrate installing .NET 8 on Linux. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems.
4+
5+
[Linux package dependencies](linux-packages.md) describes the set of packages required to run .NET on Linux.
6+
7+
## Distributions
8+
9+
The following distributions are available for Linux:
10+
11+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
12+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
13+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
14+
15+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtimes packages (like ASP.NET Core) to exclusively run applications.
16+
17+
## Downloads
18+
19+
Each of the distributions can be downloaded from:
20+
21+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/8.0)
22+
- [.NET 8 release notes](README.md)
23+
24+
[Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Linux (Alpine, Debian, and Ubuntu).
25+
26+
## Install using deb/rpm packages
27+
28+
Preview release installers are not available from the Microsoft package repositories. The steps below provide an easy way to install .NET 8 using your Distro package manager.
29+
30+
**Note:** `curl` must be available on the system before running the following steps. Once you have confirmed that `curl` is available, complete the steps to download and install the latest .NET 8 Preview SDK and Runtime.
31+
32+
1. Create a directory to use for the download location and change into that directory. For example, `mkdir $HOME/dotnet_install && cd $HOME/dotnet_install`
33+
2. Run `curl -L https://aka.ms/install-dotnet-preview -o install-dotnet-preview.sh`
34+
3. Run the script with `sudo bash install-dotnet-preview.sh`
35+
36+
Here's what the script does.
37+
38+
* Detects the distribution and version. The script supports platforms and versions listed in [.NET 8.0 - Supported OS versions](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md).
39+
* Determines if additional system dependencies or utilities are needed to successfully complete and install them. For example, `tar` is used to unpack that installer packages.
40+
* Downloads the tar.gz containing the .NET preview installer packages for the detected distribution.
41+
* Downloads the system dependency installer, if needed.
42+
* Expands the tar.gz into ./dotnet_packages
43+
* Attempts to install the contents of ./dotnet_packages using `rpm` or `dpkg`, as appropriate, for the detected distribution.
44+
45+
## Install using Snap
46+
47+
You can use Snap is to install and try .NET Previews on [Linux distributions that support Snap](https://docs.snapcraft.io/installing-snapd/6835).
48+
49+
After configuring Snap on your system, run the following command to install the latest .NET SDK.
50+
51+
`sudo snap install dotnet-sdk --channel=8.0/beta --classic`
52+
53+
When .NET is installed using the Snap package, the default .NET command is `dotnet-sdk.dotnet`, as opposed to just `dotnet`. The benefit of the namespaced command is that it will not conflict with a globally installed .NET version you may have. This command can be aliased to `dotnet` with:
54+
55+
`sudo snap alias dotnet-sdk.dotnet dotnet`
56+
57+
**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [Linux Setup](https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md) for a possible resolution.
58+
59+
## Installing from a binary archive
60+
61+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
62+
63+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
64+
65+
```bash
66+
~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/e2578737-231b-493c-a6ee-f181496fe679/18038808d2621094ebe172ca011a7c22/dotnet-sdk-8.0.100-preview.1.23115.2-linux-x64.tar.gz
67+
~# mkdir dotnet
68+
~# tar -C dotnet -xf dotnet.tar.gz
69+
~# rm dotnet.tar.gz
70+
~# export DOTNET_ROOT=~/dotnet
71+
~# export PATH=$PATH:~/dotnet
72+
~# dotnet --version
73+
8.0.100-preview.1.23115.2
74+
```
75+
76+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
77+
78+
You can add your .NET install location permanently to your path if you'd like.

release-notes/8.0/install-macos.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# .NET 8 installation instructions for macOS
2+
3+
The following instructions demonstrate installing .NET 8 on macOS. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems.
4+
5+
## Distributions
6+
7+
The following distributions are available for Linux:
8+
9+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
10+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
11+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
12+
13+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtimes packages (like ASP.NET Core) to exclusively run applications.
14+
15+
## Downloads
16+
17+
Each of the distributions can be downloaded from:
18+
19+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/8.0)
20+
- [.NET 8 release notes](README.md)
21+
22+
[Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Linux (Alpine, Debian, and Ubuntu).
23+
24+
## Install using PKG
25+
26+
You can install any of the distributions with PKG. The following image demonstrates installing the .NET SDK. After launching the PKG, click "Continue" and you will be taken through the process of installing the SDK.
27+
28+
![image](https://user-images.githubusercontent.com/2608468/112776700-355d5280-8ff5-11eb-979c-8cab273f5f97.png)
29+
30+
## Installing from a binary archive
31+
32+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
33+
34+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
35+
36+
```bash
37+
~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/0b01073d-3861-4fe0-abba-41e271c79725/12150bdbeeeb50e157b91f2adab90c80/dotnet-sdk-8.0.100-preview.1.23115.2-osx-x64.tar.gz
38+
~# mkdir dotnet
39+
~# tar -C dotnet -xf dotnet.tar.gz
40+
~# rm dotnet.tar.gz
41+
~# export DOTNET_ROOT=~/dotnet
42+
~# export PATH=$PATH:~/dotnet
43+
~# dotnet --version
44+
8.0.100-preview.1.23115.2
45+
```
46+
47+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
48+
49+
You can add your .NET install location permanently to your path if you'd like.

release-notes/8.0/install-windows.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# .NET 8 installation instructions for Windows
2+
3+
The following instructions demonstrate installing .NET 8 on Windows. These instructions augment the more general [.NET install instructions](install.md), including installing with `.zip` files, that work on multiple operating systems.
4+
5+
## Distributions
6+
7+
The following distributions are available for Windows:
8+
9+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
10+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
11+
- .NET Desktop Runtime: includes the .NET runtime and Windows desktop libraries, enabling running console, Windows Forms, and Windows Presentation Framework (WPF) applications.
12+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
13+
- ASP.NET Core Hosting Bundle: includes the ASP.NET Core runtime and IIS support (for running both in- and out-of-process with IIS).
14+
15+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtimes packages (like ASP.NET Core) to exclusively run applications.
16+
17+
## Downloads
18+
19+
Each of the distributions can be downloaded from:
20+
21+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/8.0)
22+
- [.NET 8 release notes](README.md)
23+
24+
[Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Windows (Nano Server and Server Core) and Linux (Alpine, Debian, and Ubuntu).
25+
26+
## Windows Package Manager CLI (winget)
27+
28+
You can now install .NET updates using the Windows Package Manager CLI (winget):
29+
30+
* To install the .NET 8 runtime: ```winget install dotnet-runtime-8```
31+
32+
* To install the .NET 8 SDK: ```winget install dotnet-sdk-8```
33+
34+
* To update an existing installation: ```winget upgrade```
35+
36+
See [Install with Windows Package Manager (winget)](https://learn.microsoft.com/dotnet/core/install/windows?tabs=net70#install-with-windows-package-manager-winget) for more information.
37+
38+
## Install using MSI
39+
40+
You can install any of the distributions with MSI. The following image demonstrates installing the .NET SDK. After launching the MSI, click "Install" and you will be taken through the process of installing the SDK.
41+
42+
![image](https://user-images.githubusercontent.com/94140381/186767749-45306b95-cd1b-4d85-9634-42fb83a1cf4b.png)
43+
44+
45+
## Windows Server Hosting with IIS
46+
47+
You should install the Hosting Bundle MSI if you want to enable hosting ASP.NET Core with IIS.
48+
49+
## Installing from a binary archive
50+
51+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
52+
53+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
54+
55+
```console
56+
C:\>curl -Lo dotnet.zip https://download.visualstudio.microsoft.com/download/pr/a1b7c03d-8c06-4d07-a99d-b7c919fc9b9a/0b57d52282f0e56c8701aaafd31cab90/dotnet-sdk-8.0.100-preview.1.23115.2-win-x64.zip
57+
C:\>tar -C dotnet -xf dotnet.zip
58+
C:\>del dotnet.zip
59+
C:\>set DOTNET_ROOT=C:\dotnet
60+
C:\>set PATH=%PATH%;C:\dotnet
61+
C:\>dotnet --version
62+
8.0.100-preview.1.23115.2
63+
```
64+
65+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
66+
67+
You can add your .NET install location permanently to your path if you'd like.

release-notes/8.0/install.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# .NET 8 installation instructions
2+
3+
Concise install instructions are provided in this document and may be augmented in [release notes](README.md) for a given update. Complete [.NET installation instructions for Windows, macOS, and Linux](https://learn.microsoft.com/dotnet/core/install/) are provided for supported releases in [.NET documentation](https://learn.microsoft.com/dotnet).
4+
5+
Operating system specific instructions:
6+
7+
- [Linux](install-linux.md)
8+
- [macOS](install-macos.md)
9+
- [Windows](install-windows.md)
10+
11+
## [Using dotnet-install-scripts](https://learn.microsoft.com/dotnet/core/tools/dotnet-install-script)
12+
13+
### Install the latest preview version of the 8.0.1xx SDK to the specified location:
14+
15+
Windows:
16+
17+
```
18+
./dotnet-install.ps1 -Channel 8.0.1xx -Quality preview -InstallDir C:\cli
19+
```
20+
21+
macOS/Linux:
22+
```
23+
./dotnet-install.sh --channel 8.0.1xx --quality preview --install-dir ~/cli
24+
```
25+
26+
### Install the latest preview version of the 8.0.0 runtime to the specified location:
27+
28+
Windows:
29+
30+
```
31+
.\.dotnet\dotnet-install.ps1 -Channel 8.0 -Runtime dotnet -Quality preview -InstallDir c:\cli
32+
```
33+
34+
macOs/Linux:
35+
36+
```
37+
./dotnet-install.sh --runtime dotnet --channel 8.0 --quality preview --install-dir ~/cli
38+
```
39+
40+
## Distributions
41+
42+
The following distributions are available for all operating systems:
43+
44+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
45+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
46+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
47+
48+
We recommend that you install the .NET SDK to develop and build applications, and to install one of the runtimes packages (like ASP.NET Core) to (exclusively) run applications.
49+
50+
## Downloads
51+
52+
Download links are provided for each of the distributions at:
53+
54+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/8.0)
55+
- [.NET 8 release notes](README.md)
56+
57+
[Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Windows (Nano Server, and Server Core) and Linux (Alpine, Debian, and Ubuntu).
58+
59+
## What's installed?
60+
61+
You can determine what is installed on your machine (assuming .NET is installed) using the following approach, with `dotnet --info`.
62+
63+
```console
64+
C:\>dotnet --info
65+
.NET SDK (reflecting any global.json):
66+
Version: 8.0.100-preview.1.23115.2
67+
Commit: 0a5360315a
68+
69+
Runtime Environment:
70+
OS Name: Mac OS X
71+
OS Version: 12.6
72+
OS Platform: Darwin
73+
RID: osx.12-x64
74+
Base Path: /usr/local/share/dotnet/x64/sdk/8.0.100-preview.1.23115.2/
75+
76+
Host:
77+
Version: 8.0.100-preview.1.23115.2
78+
Architecture: x64
79+
Commit: 550605cc93
80+
81+
.NET SDKs installed:
82+
8.0.100-preview.1.23115.2 [/usr/local/share/dotnet/x64/sdk]
83+
84+
.NET runtimes installed:
85+
Microsoft.AspNetCore.App 8.0.0-preview.1.23110.8 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
86+
Microsoft.NETCore.App 8.0.0-preview.1.23110.8 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
87+
```
88+
89+
If you have the .NET SDK installed, you can also use `dotnet --version` as demonstrated in the following example:
90+
91+
```console
92+
C:\>dotnet --version
93+
8.0.100-preview.1.23115.2
94+
```

release-notes/8.0/known-issues.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
You may encounter the following known issues, which may include workarounds, mitigations, or expected resolution timeframes.
44

55
## .NET SDK
6-
### [8.0 Preview 1] Using the `--output` option fails for many commands when targeting a solution
76

8-
A [breaking change](https://learn.microsoft.com/dotnet/core/compatibility/sdk/7.0/solution-level-output-no-longer-valid) was introduced that was intended to prevent common build errors. However, many users relied on this behavior to build their projects. We have downgraded this change to a warning and are intent on releasing this fix in .NET 8.0 Preview 2. Please see the linked breaking change notification for more details.
7+
## .NET MAUI
8+
9+
For details about known issues, please refer to the individual repositories:
10+
11+
* [.NET MAUI](https://github.com/dotnet/maui/wiki/Known-Issues/)
12+
* [Android](https://github.com/xamarin/xamarin-android/wiki/Known-issues-in-.NET)
13+
* [iOS and macOS](https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET8)

0 commit comments

Comments
 (0)