Questions tagged [paket]

Paket is a dependency manager for .NET and Mono projects, which is designed to work well with NuGet packages and also enables referencing files directly from GitHub repositories.

Project Page: http://fsprojects.github.io/Paket/

84 questions
2
votes
1 answer

How to use Docker with Paket?

There are several projects in my solution (some production and some test ...) and there is a docker image per each project. Each .fsproj file in the solution contains the line: But docker's build…
Mohsen
  • 3,224
  • 7
  • 32
  • 62
2
votes
1 answer

F# .net Core cannot use FsUnit in unit test in VsCode

I've installed FsUnit in .net core using Paket on VsCode. Unfortunately I cannot get my unit test files to reference it. I've used dotnet restore, and went to every website I could find but I'm not sure what's wrong. I did need to add a reference…
Daniel
  • 133
  • 1
  • 8
2
votes
1 answer

What do I do with downloaded FsLab template?

Sorry for the question, but I am definitely not an "advanced" user. I installed the FsLab and FsLab Journal using NuGet. The instructions in https://fslab.org/download/ tell one to Download FsLab Journal template (which I did, and got a folder…
Soldalma
  • 4,183
  • 2
  • 18
  • 34
2
votes
0 answers

Can Paket resolve packages from different sources?

I have local nuget repository nuget.companyrepo.com. I publish SuperLibrary to that repo. This library has dependency in paket.template like that: dependencies Newtonsoft.Json 4.5.1 files build/SuperLibrary.dll => lib In my second project…
bizon
  • 2,346
  • 2
  • 23
  • 27
2
votes
1 answer

F# package for Sublime Text Build System absent

I am starting out with F# and trying to get it to work with Sublime Text 3 with a package, https://github.com/fsharp/sublime-fsharp-package. After installing the package using Package Control, I see F# appear as an available language to use in…
wander
  • 75
  • 5
2
votes
1 answer

Azure function host won't resolve dependencies

I'm trying to use F# and Paket with Azure Functions. I'm running the Azure Functions Core Tools so I can run my functions locally, before deploying them to Azure. The problem is when I run the function, compilation fails with: warning FS211: The…
Cocowalla
  • 11,717
  • 5
  • 58
  • 93
2
votes
2 answers

F# build fails to locate two packages after updating mono

I have an existing F# / Mono / paket / fake project under Linux that used to compile correctly. I updated mono using apt-get and now my project won't compile. It can't find the two referenced packages : MathNet.Numerics and Newtonsoft.Json. Here's…
Gilles
  • 4,619
  • 4
  • 28
  • 62
2
votes
0 answers

Auth key for private GitHub repo with Paket

The paket docs show how to reference a private GitHub repo but the config docs section isn't particularly illuminating on the particulars of how to set up the 'GitHub Auth Key'. In particular, I am not sure from reading this what I should be using…
Michael Thomas
  • 1,344
  • 7
  • 17
2
votes
0 answers

FAKE FscHelper and Paket references

I'm starting to experiment with F# and FAKE and Paket. I'm trying to understand how I should manage references to DLLs installed via Paket. Currently I have something like this in my build.fsx Target "DeadLetter" (fun _ -> ["MyFile.fs"] |>…
geoff_h
  • 1,175
  • 6
  • 12
2
votes
0 answers

TeamCity, .net build with paket / incompatible agent

How do I get TC to fetch paket dependencies? I've just installed TC and created a CI build to build my VS 2015 .Net solution. I checked in an empty solution, added TC Build step (Build - Visual Studio sln) and it builds. So far, so good. Then added…
Anders Juul
  • 2,177
  • 3
  • 27
  • 53
2
votes
1 answer

VSCode, Paket, and compiler errors

I use VSCode and Paket but don't understand how everything on the back-end connects to each other. This morning I'm running into a problem in which my paket.dependencies file is correct yet when I try to open those libraries in a .FS file, I get…
Steven
  • 3,014
  • 16
  • 41
2
votes
1 answer

How to suppress part of FAKE output?

I have a library that I build with FAKE, pack, and push to NuGet. Works fine. Now, I want to do all that, including the "push" part, in continuous mode, via Travis CI. I know there are security concerns, but it seems that I can do this securely (at…
Fyodor Soikin
  • 67,206
  • 8
  • 106
  • 148
2
votes
1 answer

How do I reference a system assembly in VS Code with Paket?

how do I best reference a system assembly, that has no NuGet package, in VS Code with Paket in an F# project or script? Example: System.Data.Linq.dll. One way is to hard reference the file, e.g. like this: #r…
leifbattermann
  • 592
  • 5
  • 12
2
votes
2 answers

Paket error: "Package was referenced, but it was not found in the paket.lock file"

When using Paket, how to fix this error?
Contango
  • 65,385
  • 53
  • 229
  • 279
2
votes
1 answer

How to build an F# application with dependencies downloaded from Paket?

I'm having a hard time trying to build a F# project in Visual Studio that has dependencies downloaded with Paket. It raises several of the following errors (with different dlls each time): Could not resolve this reference. Could not locate the…
David Jiménez Martínez
  • 2,861
  • 5
  • 20
  • 39