3

I'm using VSCode and Paket to add libraries from Nuget to an F# project/.fsproj file.

From VSCode, I use ctrl+shift+p and use the command Paket: Add Nuget Package (to current project) and enter

FsVerbalExpressions version 0.4.0

Unfortunately, Paket fails with the following error:

Paket version 3.23.2.0
Adding FsVerbaExpressions 0.4.0 to 
c:...\paket.dependencies into group Main
Resolving packages for group Main:
 - FsVerbaExpressions is pinned to 0.4.0
    Package not available.
      Message: Couldn't get package details for package FsVerbaExpressions 0.4.0 on https://www.nuget.org/api/v2.
Paket failed with:
    Could not find versions for package FsVerbaExpressions on https://www.nuget.org/api/v2.

I know that FsVerbalExpressions is available on Nuget. I need the older version because the project I'm working on is targeted at .NET 4.5 and the newer version of FsVerbalExpressions will only work with .NET 4.6.1.

Steven
  • 3,238
  • 21
  • 50
  • What kind of environment are you on? I assume no VS 2015, but for example is it possible to use nuget command line? – s952163 Oct 18 '16 at 23:31
  • 3
    If you copied and pasted the error message, then you made a typo in the package name (`FsVerbaExpressions` instead of `FsVerbalExpressions`). – TeaDrivenDev Oct 18 '16 at 23:31
  • Yes, most probably as TDD says. I just added it via paket: `Downloading FsVerbalExpressions 0.4.0`. – s952163 Oct 18 '16 at 23:40
  • 1
    And now I feel like an idiot! Thanks for making it simple @TeaDrivenDev. – Steven Oct 19 '16 at 12:35

1 Answers1

1

Typos happen. Make sure you proofread your error messages before looking for answers that are already in front of you.

Steven
  • 3,238
  • 21
  • 50