Reputation: 303
I'm trying to add a reference to FSharp.Data 2.3.2 to a project in Visual Studio Code. Adding with paket add nuget package FSharp.Data 2.3.2
fails with message:
Paket version 5.156.7
Performance:
- Runtime: 438 millisecondsPaket failed with
-> You cannot use the old and new syntax at the same time:
'nuget' is the default argument and must be omitted.
I'm having to use 2.3.2 because the latest version gives error in my one line of code. I tried syntax that works in Visual Studio too: Install-Package FSharp.Data -Version 2.3.2
, but this just gives me a help page text.
Upvotes: 0
Views: 508
Reputation: 243126
You can find the complete documentation for Paket commands on the web site - the paket add page has the information about adding references. The following command works for me:
paket add FSharp.Data --version 2.3.2
Upvotes: 3