.NET 6.0.0 Preview 2 - March 11, 2021
The .NET 6.0.0 Preview 2 and .NET SDK 6.0.100-preview.2.21155.3 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 2
.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 2 at dotnet/core #5889.
|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 |
|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|
- 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.2.21155.3
.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|
Visit .NET Documentation to learn about .NET, for building many different types of applications.
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.9 Preview 4 or later to use .NET 6.0 on Windows. On macOS, you need the latest version of Visual Studio for Mac. The C# extension for Visual Studio Code supports .NET 6.0 and C# 9.
Your feedback is important and appreciated. We've created an issue at dotnet/core #6057 for your questions and comments.