2016-03-22 21 views
7

我想在新的通用Windows類庫中使用最新的.NET Core。如何在通用Windows類庫中使用最新的dot net核心?

但是在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": {} 
    } 
} 

回答

4

你可以嘗試升級使用他們的夜間飼料那個包:https://dotnet.myget.org/gallery/dotnet-core

+0

謝謝你,我的下一個問題則是如何?我嘗試添加該feed到nuget,然後選擇最新的預發佈「Microsoft.NETCore.UniveralWindowsPlatform」並對[Update]進行cliked,但得到如下錯誤:「NotFound https://api.nuget.org/v3-flatcontainer/system.runtime.interopservices .pinvoke/index.json「 – markmnl

+0

嘗試v2提要。 v3對我來說只是麻煩。 –

+0

好的,我進一步使用這個飼料:http://myget.org/F/dotnet-core,它給了我「包與UWP不兼容」的錯誤,現在有一個關於corefx回購跟蹤這個問題的問題:https:/ /github.com/dotnet/coreclr/issues/3520 – markmnl

相關問題