繁体   English   中英

为什么Paket安装比Nuget更多的包?

[英]Why Paket installs way more packages than Nuget?

为什么Paket默认安装比Nuget更多的包? 这是正常的行为还是我做错了什么?

我跟着入门指南 (但的帮助下paket.powershell我通过安装choco install paket.powershell ):

  • 我做了一个新的WPF项目
  • 使用Paket-Init命令初始化Paket
  • paket.dependencies文件中添加了nuget reactiveui
  • 执行Paket-Install命令下载软件包

因此,我在packages文件夹中有以下内容:

reactiveui
reactiveui-core
Rx-Core
Rx-Interfaces
Rx-Linq
Rx-Main
Rx-PlatformServices
Rx-WindowStoreApps
Rx-WinRT
Rx-Xaml
Splat
System.Collections
System.Diagnostics.Debug
System.Diagnostics.Tools
System.IO
System.Linq
System.Linq.Expressions
System.ObjectModel
System.Reflection
System.Reflection.Extensions
System.Runtime
System.Runtime.Extensions
System.Runtime.InteropServices.WindowsRuntime
System.Runtime.Serialization.Primitives
System.Runtime.Serialization.Xml
System.Text.Encoding
System.Threading
System.Threading.Tasks

当我从VS Package Manager Console使用标准的基于nuget的Install-Package reactiveui ,我有:

reactiveui-core.7.0.0
reactiveui.7.0.0
Rx-Core.2.2.5
Rx-Interfaces.2.2.5
Rx-Linq.2.2.5
Rx-Main.2.2.5
Rx-PlatformServices.2.2.5
Rx-XAML.2.2.5
Splat.1.6.0

第一个结果非常分散所有这些依赖关系。 或者它应该如何? 我觉得我错过了一些额外的限制/限制参数......

(发表评论作为答案)

如果未指定框架,则会发生这种情况。

将“nuget reactiveui”改为“nuget reactiveui framework:net45”。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM