这很容易重现 - VS2015,新项目通用Windows应用程序。 Nuget控制台:
Install-Package System.Net.Http.WinHttpHandler -Pre
然后我收到错误:
Install-Package : System.Net.Http.WinHttpHandler 4.0.0-beta-23516 provides a compile-time reference assembly for System.Net.Http.WinHttpHandler on
UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm.
At line:1 char:1
+ Install-Package System.Net.Http.WinHttpHandler -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
查看软件包,看来这个软件包引用了dotnet5.4。没有net46等条目。
我已经阅读了一下,发现(https://github.com/aspnet/Announcements/issues/98)dotnet5.4取代了dnxcore50(VS2015可以理解)。
如何使用此新版本的库?有没有什么可以更新DNX或其他什么来使这项工作?
由于