Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is dotnet5.4 and net451 in class library?

In aspnet 5 I created a project which came with dotnet5.4 and net451. Since it's a class library I assume it does not need the runtime so uses net451 instead of dnx451 (my wild guess). But what about dotnet5.4 what exactly is that for ?

like image 931
Cemre Mengü Avatar asked Dec 09 '15 15:12

Cemre Mengü


2 Answers

UPDATE: With this announcement, the monikers will probably change again. This answer is only scoped to the release of RC1. Any release further than RC2 won't apply here.

Basically, dnxcore50 became dotnet5.4 and dnx451 became net451.

Those were temporary to begin with and were bound to change prior to the final release.

Most of this information can be found here:

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

like image 83
Maxime Rouiller Avatar answered Sep 30 '22 15:09

Maxime Rouiller


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

From 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.

like image 31
Stas Boyarincev Avatar answered Sep 30 '22 14:09

Stas Boyarincev