Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using VSCode and Paket to add file to `.fsproj`

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.

like image 900
Steven Avatar asked Jan 25 '26 10:01

Steven


1 Answers

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

like image 85
Steven Avatar answered Jan 28 '26 03:01

Steven



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!