.NET 6 預覽版5終于釋出了。我們現在正處于 .NET 6 的後半部分,開始整合一些重要的功能。例如 .NET SDK 工作負載,
下載下傳适用于 Linux、macOS 和 Windows 的.NET 6 預覽版5。
- 安裝程式和二進制檔案
- 容器鏡像
- Linux 軟體包
- 發行說明
- API差異
- 已知的問題
- GitHub 問題跟蹤器
請參閱ASP.NET Core、EF Core 以及.NET MAUI,了解有關 Web、資料通路和跨平台 UI 方案新增功能的更多詳細資訊。
Visual Studio 2022 預覽版1 也在今天釋出,.NET 6 預覽版5 包含在該版本中。.NET 6 還通過Visual Studio 16.11 和Visual Studio for Mac 8.9 進行了測試。如果您想在Visual Studio 中試用 .NET 6,我們建議您使用這些版本。
.NET 統一願景:
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/#net-platform-unification
.NET 6 預覽版5:
https://dotnet.microsoft.com/download/dotnet/6.0
安裝程式和二進制檔案:
https://dotnet.microsoft.com/download/dotnet/6.0
容器鏡像:
https://hub.docker.com/_/microsoft-dotnet
Linux 軟體包:
https://github.com/dotnet/core/blob/main/release-notes/6.0/install-linux.md
發行說明:
https://github.com/dotnet/core/blob/main/release-notes/6.0/README.md
API差異:
https://github.com/dotnet/core/tree/main/release-notes/6.0/preview/api-diff/preview5
已知的問題:
https://github.com/dotnet/core/blob/main/release-notes/6.0/known-issues.md
GitHub 問題跟蹤器:
https://github.com/dotnet/core/issues/6389
ASP.NET Core:
https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-5/
EF Core:
https://devblogs.microsoft.com/dotnet/announcing-entity-framework-core-6-0-preview-5-compiled-models/
.NET MAUI:
https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-5/
今天釋出:
https://devblogs.microsoft.com/visualstudio/visual-studio-2022-preview-1-now-available/
Visual Studio 16.11:
https://visualstudio.microsoft.com/zh-hans/vs/
Visual Studio for Mac8.9:
https://visualstudio.microsoft.com/zh-hans/vs/mac/
Visual Studio:
https://visualstudio.microsoft.com/zh-hans/
對話帖:
https://devblogs.microsoft.com/dotnet/category/conversations/
.NET SDK:可選的工作負載改進
SDK 工作負載:
https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workloads.md
移動:
https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-4/
WebAssembly:
https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-4/#blazor-webassembly-ahead-of-time-aot-compilation
.NET 6 預覽版 4:
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/#cli-install-of-net-6-sdk-optional-workloads
.NET SDK:NuGet 包驗證
包驗證工具将使 NuGet 庫開發人員能夠驗證他們的包是否一緻且格式良好的。
這包括:
- 驗證不同版本之間沒有重大更改。
- 驗證包對于所有特定運作時是否具有相同的公共 API 集。
- 識别任何與目标架構或運作時适用性之間的差距。
此工具可通過Microsoft.DotNet.PackageValidation 獲得。
包驗證:
https://github.com/dotnet/core/issues/5700
Microsoft.DotNet.PackageValidation:
https://www.nuget.org/packages/Microsoft.DotNet.PackageValidation
很快就會釋出:
https://devblogs.microsoft.com/dotnet/package-validation/
.NET SDK:更多 Roslyn 分析器
.NET 6 添加更多分析器:
https://github.com/dotnet/runtime/issues/43617
配置:
https://docs.microsoft.com/zh-cn/dotnet/fundamentals/code-analysis/overview#enable-additional-rules
準備好了:
https://github.com/dotnet/runtime/issues?q=label%3Aup-for-grabs+label%3Acode-fixer+label%3Acode-analyzer
公開了:
https://github.com/dotnet/runtime/issues?q=label%3Aup-for-grabs+label%3Acode-fixer+label%3Acode-analyzer
Newell Clark:
https://github.com/NewellClark
Meik Tranel:
https://github.com/MeikTranel
dotnet/runtime #33777:
https://github.com/dotnet/runtime/issues/33777
dotnet/runtime #33784:
https://github.com/dotnet/runtime/issues/33784
dotnet/runtime #33789:
https://github.com/dotnet/runtime/issues/33789
dotnet/runtime #35343:
https://github.com/dotnet/runtime/issues/35343
dotnet/runtime #45552:
https://github.com/dotnet/runtime/issues/45552
dotnet/runtime #47180:
https://github.com/dotnet/runtime/issues/47180