I noticed that NuGet has recently added support for several new TFMs related to .NET Core, including:
netstandard
(1.0-1.5)
netstandardapp
(1.5)
netcoreapp
(1.0)
To the best of my knowledge, netstandard
is the .NET Core equivalent of a portable profile; it allows you to target multiple platforms using a single moniker, instead of explicitly spelling out every platform you support, e.g. portable-net45+netcore45+wp81
.
Meanwhile, according to this document netstandardapp
is more like a console application in .NET Core; it represents something that any .NET Core runtime (e.g. CoreCLR, CoreRT).
What, then, exactly is netcoreapp
supposed to be? I found the tracking issue for it here, which includes a comment at the bottom that kinda explains what the difference is, but I don't get what the difference between
NETStandard.Library + app hosts
and
.NET Core base install
is. Could someone please explain it to me?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…