.NET 6.0.0 Preview 4 - May 25, 2021
The .NET 6.0.0 Preview 4 and .NET SDK 6.0.100-preview.4.21255.9 releases are available for download. The latest 6.0 release is always listed at .NET 6.0 Releases.
What's new in .NET 6 Preview 4
.NET 6 is the next major release of .NET following .NET 5.0. You can see some of the new features available with .NET 6 Preview 4 at dotnet/core #6098.
See the .NET, ASP.NET Core, Entity Framework Core and .NET MAUI 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 | x64 Alpine | Packages (x64) | x64 | Arm | Arm64 | Arm64 Alpine | x64 Alpine | x641 | Arm | Arm641 | x64 Alpine | Arm64 Alpine | - | 1 |
Checksums | Checksums | Checksums | Checksums | Checksums | Checksums |
- Includes the .NET Runtime and ASP.NET Core Runtime
- 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
6.0.100-preview.4.21255.9
.NET Multi-Platform App UI Workload Downloads
.NET 6 introduces Android, iOS, and macOS SDKs for developing native applications. These provide the foundational mobile and desktop pieces for the new .NET Multi-platform App UI. See dotnet/net6-mobile-samples for additional setup instructions and sample projects you can run today.
Android SDK Installer | iOS SDK Installer | Mac Catalyst SDK Installer | Mac Cocoa SDK Installer | |
---|---|---|---|---|
Windows | x64 | x64 | ||
macOS | x64 | x64 | x64 | x64 |
Visit .NET Documentation to learn about .NET, for building many different types of applications.
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 6.0 release in containers:
docker run --rm mcr.microsoft.com/dotnet/samples
The following repos have been updated.
- dotnet/sdk: .NET SDK
- dotnet/aspnet: ASP.NET Core Runtime
- dotnet/runtime: .NET Runtime
- dotnet/runtime-deps: .NET Runtime Dependencies
- dotnet/samples: .NET Samples
Visual Studio Compatibility
You need Visual Studio 16.10 or later to use .NET 6.0 on Windows.
Notable Changes
.NET 6.0.100-preview4 SDK release carries following new changes:
- Add up to date check command
dotnet sdk check
- Converting to use System.CommandLine
- Add --use-current-runtime option
- Support for installing workloads via CLI More documentation coming soon
Feedback
Your feedback is important and appreciated. We've created an issue at dotnet/core #6295 for your questions and comments.