如何在通用Windows类库中使用最新的dot net core?

mar*_*mnl 7 c# win-universal-app visual-studio-2015 .net-core

我想在新的通用Windows类库中使用最新的.NET Core.

但是,在VS2015中创建新库时,System.Net.Sockets.SocketAPI似乎不会更新.特别是我想要这个提交:https://github.com/dotnet/corefx/pull/4079/files

project.json看起来像:

{
  "dependencies": {
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
  },
  "frameworks": {
    "uap10.0": {}
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {}
  }
}
Run Code Online (Sandbox Code Playgroud)

bri*_*lam 4

您可以尝试使用他们的夜间提要升级该软件包:https://dotnet.myget.org/gallery/dotnet-core