.NET Standard.NET Standard | 1.01.0 | 1.11.1 | 1.21.2 | 1.31.3 | 1.41.4 | 1.51.5 | 1.61.6 | 2.02.0 | 2.12.1 |
---|---|---|---|---|---|---|---|---|---|
.NET Core.NET Core | 1.01.0 | 1.01.0 | 1.01.0 | 1.01.0 | 1.01.0 | 1.01.0 | 1.01.0 | 2.02.0 | 3.03.0 |
.NET Framework 1.NET Framework 1 | 4.54.5 | 4.54.5 | 4.5.14.5.1 | 4.64.6 | 4.6.14.6.1 | 4.6.1 24.6.1 2 | 4.6.1 24.6.1 2 | 4.6.1 24.6.1 2 | N/A3N/A3 |
MonoMono | 4.64.6 | 4.64.6 | 4.64.6 | 4.64.6 | 4.64.6 | 4.64.6 | 4.64.6 | 5.45.4 | 6.46.4 |
Xamarin.iOSXamarin.iOS | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.1410.14 | 12.1612.16 |
Xamarin.MacXamarin.Mac | 3.03.0 | 3.03.0 | 3.03.0 | 3.03.0 | 3.03.0 | 3.03.0 | 3.03.0 | 3.83.8 | 5.165.16 |
Xamarin.AndroidXamarin.Android | 7.07.0 | 7.07.0 | 7.07.0 | 7.07.0 | 7.07.0 | 7.07.0 | 7.07.0 | 8.08.0 | 10.010.0 |
通用 Windows 平台Universal Windows Platform | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.010.0 | 10.0.1629910.0.16299 | 10.0.1629910.0.16299 | 10.0.1629910.0.16299 | 待定TBD |
UnityUnity | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 2018 年 1 月2018.1 | 待定TBD |
System.Runtime
)描述:A given component, like System.Runtime
, describes: Free microsoft access for mac os x.netstandard
精简 TFM(例如 netstandard1.4
)来设定 .NET Standard 框架作为目标。You can target the .NET Standard framework using the netstandard
compact TFM (for example, netstandard1.4
).如果构建的库将在多个运行时中运行,就应将此框架作为目标。Libraries that are intended to run on multiple runtimes should target this framework.对于最广泛的 API 集,将 netstandard2.0
设定为目标,因为 .NET Standard 2.0 的可用 API 数量比 .NET Standard 1.6 的两倍还多。For the broadest set of APIs, target netstandard2.0
since the number of available APIs more than doubled between .NET Standard 1.6 and 2.0.NETStandard.Library
元包引用定义 .NET Standard 的一整套 NuGet 包。The NETStandard.Library
metapackage references the complete set of NuGet packages that define .NET Standard.要指定 netstandard
作为目标,最常见的方法是引用此元包。The most common way to target netstandard
is by referencing this metapackage.它描述并提供了对大约 40 个 .NET 库及定义 .Net Standard 的相关 API 的访问权限。It describes and provides access to the ~40 .NET libraries and associated APIs that define .NET Standard.可以引用以 netstandard
为目标的其他包来使用其他 API。You can reference additional packages that target netstandard
to get access to additional APIs.netstandard
。You can build .NET Standard Libraries using a combination of the netstandard
framework and the NETStandard.Library metapackage.可以查看使用 .NET Core 工具定位 .NET Standard 的示例。You can see examples of targeting the .NET Standard with .NET Core tools.netstandard
的基于配置文件的 PCL 更易于使用。Profile-based PCLs packaged as netstandard
are easier to consume than typically packaged profile-based PCLs.netstandard
打包符合现有用户的需要。netstandard
packaging is compatible with existing users. Clearing microsoft temp files on mac windows 10.PCL 配置文件PCL Profile | .NET Standard.NET Standard | PCL 平台PCL Platforms |
---|---|---|
Profile7Profile7 | 1.11.1 | .NET Framework 4.5、Windows 8.NET Framework 4.5, Windows 8 |
Profile31Profile31 | 1.01.0 | Windows 8.1、Windows Phone Silverlight 8.1Windows 8.1, Windows Phone Silverlight 8.1 |
Profile32Profile32 | 1.21.2 | Windows 8.1、Windows Phone 8.1Windows 8.1, Windows Phone 8.1 |
Profile44Profile44 | 1.21.2 | .NET Framework 4.5.1、Windows 8.1.NET Framework 4.5.1, Windows 8.1 |
Profile49Profile49 | 1.01.0 | .NET Framework 4.5、Windows Phone Silverlight 8.NET Framework 4.5, Windows Phone Silverlight 8 |
Profile78Profile78 | 1.01.0 | .NET Framework 4.5、Windows 8、Windows Phone Silverlight 8.NET Framework 4.5, Windows 8, Windows Phone Silverlight 8 |
Profile84Profile84 | 1.01.0 | Windows Phone 8.1、Windows Phone Silverlight 8.1Windows Phone 8.1, Windows Phone Silverlight 8.1 |
Profile111Profile111 | 1.11.1 | .NET Framework 4.5、Windows 8、Windows Phone 8.1.NET Framework 4.5, Windows 8, Windows Phone 8.1 |
Profile151Profile151 | 1.21.2 | .NET Framework 4.5.1、Windows 8.1、Windows Phone 8.1.NET Framework 4.5.1, Windows 8.1, Windows Phone 8.1 |
Profile157Profile157 | 1.01.0 | Windows 8.1、Windows Phone 8.1、Windows Phone Silverlight 8.1Windows 8.1, Windows Phone 8.1, Windows Phone Silverlight 8.1 |
Profile259Profile259 | 1.01.0 | .NET Framework 4.5、Windows 8, Windows Phone 8.1、Windows Phone Silverlight 8.NET Framework 4.5, Windows 8, Windows Phone 8.1, Windows Phone Silverlight 8 |