首页 新闻 会员 周边 捐助

netcoreapp是什么?Microsoft.NETCore.App又是什么?

0
悬赏园豆:30 [已解决问题] 解决于 2016-05-26 13:43

在.NET Core RC2项目的project.json中,多了2个新东西:

{
  "frameworks": {
    "netcoreapp1.0": { }
  },
  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.0.0-rc2-3002702"
    }
  }
}

在frameworks中多了netcoreapp1.0,dependencies中多了Microsoft.NETCore.App,请问这2个东东的用途是什么?

dudu的主页 dudu | 高人七级 | 园豆:29542
提问于:2016-05-24 14:08
< >
分享
最佳答案
1

netcoreapp是 .netcore的别名,就像原来的dnxcore50 。Microsoft.NETCore.App 是一些包的集合,包含.netcore的基础运行时和基础类库。

.NET Platform Standard version mapping

.NET Platform Standard versionNuGet identifier
1.0 - 1.5 netstandard1.0 - netstandard1.5

Specific platform mapping

PlatformNuGet identifier
.NET Framework 2.0 - 4.6 net20 - net46
.NET Core netcoreapp
.NET Micro Framework netmf
Windows 8 win8, netcore45
Windows 8.1 win8, netcore451
Windows Phone Silverlight (8, 8.1) wp8, wp81
Windows Phone 8.1 wpa8.1
Universal Windows Platform 10 uap10, netcore50
Silverlight 4, 5 sl4, sl5
MonoAndroid monoandroid
MonoTouch monotouch
MonoMac monomac
Xamarin iOS xamarinios
Xamarin PlayStation 3 xamarinpsthree
Xamarin PlayStation 4 xamarinpsfour
Xamarin PlayStation Vita xamarinpsvita
Xamarin Watch OS xamarinwatchos
Xamarin TV OS xamarintvos
Xamarin Xbox 360 xamarinxboxthreesixty
Xamarin Xbox One xamarinxboxone

Deprecated monikers

PlatformNuGet identifier
ASP.NET 5.0 on .NET Framework aspnet50
ASP.NET 5.0 on .NET Core aspnetcore50
DNX on .NET Framework 4.5.1 - 4.6 dnx451 - dnx46
DNX on .NET Core 5.0 dnxcore50
Windows 8 winrt

 

收获园豆:30
苦逼师哥 | 菜鸟二级 |园豆:204 | 2016-05-24 14:50
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册