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

标签 c# visual-studio-2015 win-universal-app .net-core

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

但是在 VS2015 中创建新库时,System.Net.Sockets.Socket API 似乎没有更新。特别是我想要这个提交: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": {}
  }
}

最佳答案

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

关于c# - 如何在通用 Windows 类库中使用最新的 dot net core?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36146223/

相关文章:

c# - 异步初始化及其单元测试

c# - 自定义验证错误的自动响应

C# 扩展类在 Visual Studio 2013 中不起作用,在 2015 中起作用

visual-studio-2015 - Windows 10 UAP 部署代码 705 和 DEP0700/DEP6100/DEP6200

c# - x :Bind and UserControls

c# - 如何在 Windows 10 Universal 中获取设备的唯一标识符?

c# - NHibernate - KeyNotFoundException : The given key was not present in the dictionary

c# - 无法从 NUnit 单元测试打印

c++ - 工作线程在 DLL(但不是 .exe)中的静态对象被破坏之前被强制终止?

visual-studio-2015 - 为什么有些项目模板在 Visual Studio Community 2015 中丢失,但出现在新项目模板搜索中?