core

.NET 8.0.0 Preview 4 - May 16, 2023

The .NET 8.0.0 Preview 4 and .NET SDK 8.0.100-preview.4.23260.5 releases are available for download. The latest 8.0 release is always listed at .NET 8.0 Releases.

What’s new in .NET 8 Preview 4

.NET 8 is the next major release of .NET following .NET 8.0. You can see some of the new features available with .NET 8 Preview 4 at dotnet/core #8234.

See the .NET and ASP.NET Core blogs for additional details. Here is list of some of the additions and updates we’re excited to bring in Preview 4.

Downloads

  SDK Installer1 SDK Binaries1 Runtime Installer Runtime Binaries ASP.NET Core Runtime Windows Desktop Runtime  
Windows x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 | Arm64 x86 | x64 |
Hosting Bundle2
x86 | x64 | Arm64  
macOS x64 | ARM64 x64 | ARM64 x64 | ARM64 x64 | ARM64 x64 | ARM64 - 1
Linux Snap and Package Manager x64 | Arm | Arm64 | Arm32 Alpine | x64 Alpine Packages (x64) x64 | Arm | Arm64 | Arm32 Alpine | Arm64 Alpine | x64 Alpine x641 | Arm1 | Arm641 | x64 Alpine - 1
  Checksums Checksums Checksums Checksums Checksums Checksums  
  1. Includes the .NET Runtime and ASP.NET Core Runtime
  2. For hosting stand-alone apps on Windows Servers. Includes the ASP.NET Core Module for IIS and can be installed separately on servers without installing .NET Runtime.

The .NET SDK includes a matching updated .NET Runtime. Downloading the Runtime or ASP.NET Core packages is not needed when installing the SDK.

You can check your .NET SDK version by running the following command. The example version shown is for this release.

$ dotnet --version
8.0.100-preview.4.23260.5

.NET Multi-Platform App UI (MAUI) Workload Downloads

After installing the .NET SDK, you can install .NET MAUI using the dotnet workload install command:

 $ dotnet workload install maui

The following workloads are also available to install individually:

 $ dotnet workload install android
 $ dotnet workload install ios
 $ dotnet workload install maccatalyst
 $ dotnet workload install macos
 $ dotnet workload install tvos

Docker Images

The .NET Docker images have been updated for this release. The .NET Docker samples show various ways to use .NET and Docker together. You can use the following command to try running the latest .NET 8.0 release in containers:

docker run --rm mcr.microsoft.com/dotnet/samples

The following repos have been updated.

Visual Studio Compatibility

You need Visual Studio 17.7 latest preview to use .NET 8.0 on Windows. On macOS, you need the latest version of Visual Studio for Mac. The C# extension for Visual Studio Code supports .NET 8.0 and C# 11.

Feedback

Your feedback is important and appreciated. We’ve created an issue at dotnet/core #8458 for your questions and comments.