.NET 6 Preview 5 终于发布

本文介绍了.NET6预览版5的最新进展,包括.NETSDK工作负载的改进、NuGet包验证功能、Roslyn分析器扩展及ASP.NETCore、EFCore和.NETMAUI的更新。VisualStudio2022预览版1也一同发布,提供了试用.NET6的途径。

.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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值