class 库中的 dotnet5.4 和 net451 是什么?

What is dotnet5.4 and net451 in class library?

在 aspnet 5 中,我创建了一个带有 dotnet5.4net451 的项目。因为它是一个 class 库,我假设它不需要运行时,所以使用 net451 而不是 dnx451 (我的疯狂猜测)。但是 dotnet5.4 到底是为了什么?

更新: 随着 this 公告的发布,绰号可能会再次更改。此答案仅适用于 RC1 的发布。 RC2 之后的任何版本都不适用于此处。

基本上,dnxcore50变成了dotnet5.4dnx451变成了net451

一开始这些都是临时的,在最终发布之前肯定会发生变化。

大部分信息都可以在这里找到:

https://github.com/aspnet/Announcements/issues/98

But what about dotnet5.4 what exactly is that for ?

来自Announcing ASP.NET 5 Release Candidate 1

With this version of ASP.NET 5 templates, the “Class Library (package)” project template will target “dotnet5.4” which has binary compatibility with .NET 4.6, .NET Core 5, and Mono.