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

Bad*_*Bad 10 .net c# f# nuget paket

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

我按照入门指南(但在paket.powershell我安装的帮助下choco install paket.powershell):

  • 我做了一个新的WPF项目
  • Paket使用Paket-Init命令初始化
  • 添加nuget reactiveuipaket.dependencies文件
  • 执行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
Run Code Online (Sandbox Code Playgroud)

Install-Package reactiveuiVS Package Manager控制台中使用基于nuget的标准时,我有:

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
Run Code Online (Sandbox Code Playgroud)

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

Foo*_*ole 11

(发表评论作为答案)

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

将"nuget reactiveui"改为"nuget reactiveui framework:net45".

  • 链接到[框架限制](https://fsprojects.github.io/Paket/dependencies-file.html#Framework-restrictions)部分。 (2认同)