NET标准库参考.NETCore [英] NET Standard library refer .NETCore
问题描述
我是Microsoft Core
世界的新手,想创建一个针对.NET标准的类库。我正在使用Visual Studio IDE 2017,并选择了 .NET Standard
下列出的类库项目模板。
I am new to the Microsoft Core
world and wanted create a class library that targets the .NET standard. I was using the Visual Studio IDE 2017 and picked a class library project template listed under .NET Standard
.
何时我在.NET标准项目结构上扩展了SDK,我可以看到 Microsoft.NETCore.Platform 1.1.0
作为参考。
When I expand the SDK on the .NET standard project structure, I could see Microsoft.NETCore.Platform 1.1.0
as reference.
根据我的理解,.NET Core,.NET Framework,Mono,通用Windows平台等会使用.NET标准而不是其他方式。请纠正我。
As per my understanding, .NET Core, .NET Framework, Mono, Universal Windows Platform, etc. uses .NET Standard and not other-way around. Please correct me.
问题:
- SDK下Microsoft.NETCore.Platform 1.1.0参考的相关性是什么?
推荐答案
显然,它用于以下目的。
Clearly it is used for the following purposes,
提供解决目标框架,平台和运行时特定的.NETCore包实现所需的运行时信息。 。
Provides runtime information required to resolve target framework, platform, and runtime specific implementations of .NETCore packages.
https:/ /www.nuget.org/packages/Microsoft.NETCore.Platforms/
如果您检查以下内容,则会发现更多内容源代码
and more can be found if you check the source code,
这是一个跨平台程序包,未绑定到任何特定平台,但名称错误。如您所问, NETCore部分令人困惑,应将其删除。
It is a cross platform package, not bind to any specific platform, but with a wrong name. As you asked, "NETCore" part is confusing and should be removed.
这篇关于NET标准库参考.NETCore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!