Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Paket installs way more packages than Nuget?

Tags:

c#

.net

nuget

f#

paket

Why Paket installs way more packages than Nuget by default? Is it normal behaviour or am I doing something wrong?

I followed Getting Started guide (but with the help of paket.powershell which I installed by choco install paket.powershell):

  • I made a new WPF project
  • Initialized Paket with Paket-Init command
  • Added nuget reactiveui to paket.dependencies file
  • Executed Paket-Install command to download packages

As a result I have the following in my packages folder:

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

When using standard nuget-based Install-Package reactiveui from VS Package Manager Console, I have:

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

1st outcome is very distracting with all those dependencies. Or is it how it is supposed to be? I feel I miss some additional restricting / confining parameters...

like image 844
Bad Avatar asked Dec 17 '16 20:12

Bad


1 Answers

(Posting my comment as an answer)

This happens when you don't specify the framework.

Change "nuget reactiveui" to something like "nuget reactiveui framework: net45".

like image 74
Foole Avatar answered Nov 15 '22 19:11

Foole