I just recently discovered on MSDN that e.g. class System.String
of the .NET framework now lives in three different assemblies, namely System.Runtime.dll
, mscorlib.dll
and also netstandard.dll
.
Before, this class existed only in the assembly mscorlib.dll
.
I guess this has to do with the existence of the .NET Core framework and also the .NET Standard specification, but am unsure about how these three assemblies differ and on which platforms they can be found respectively.
So if my guessing is right, the question is: which assembly belongs to which Framework (.NET, .NET Core, .NET Standard) ?
You are right it is due to the existence of .NET Core and .NET Standard. Normally you don't have to take care on which one you should reference. It is automatically done when you create a .NET project (mscorlib.dll), a .NET Core project (System.Runtime.dll) or a .NET Standard project (netstandard.dll).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With