Cameron Taggart
Cameron Taggart

Reputation: 6091

What is the Difference between the dotnet and dotnet5.x monikers?

What is the difference between the dotnet moniker and a dotnet5.2 or dotnet5.3 moniker in the ref (references) folder? Why do some of the NuGet packages have just dotnet and then others have multiple versioned monikers?

System.Runtime.InteropServices

System.Linq

System.Reflection

Upvotes: 3

Views: 354

Answers (1)

Maxime Rouiller
Maxime Rouiller

Reputation: 13709

What is the difference between the dotnet moniker and a dotnet5.2 or dotnet5.3 moniker in the ref folder?

What is being talked about is called the .NET Standard Platform.

Everything that is under ref folder is basically just a contract assembly with no real implementation to make it easier to find what you can depend on or not. Once your assembly hit the real platform, it can depend on the real assembly since it's all its contracts are identical to the ref one that was supplied.

Why do some of the NuGet packages have just dotnet and then others have multiple versioned monikers?

Yet again, the .NET Standard Platform. I would go on a limb here and say that a few of those might just be tests by the team.

Upvotes: 2

Related Questions