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/

91 questions
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,245
  • 8
  • 13
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,407
  • 3
  • 34
  • 56
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,238
  • 21
  • 50
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
  • 78,590
  • 9
  • 125
  • 172
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
  • 76,540
  • 58
  • 260
  • 305
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
  • 3,053
  • 5
  • 23
  • 43
1
vote
1 answer

In C#, how to `Paket Add` dependencies to all projects in a folder even when they are in separate solutions?

Say I have a packet.dependencies file in a root folder full of different solutions adding up to hundreds of projects, each with a paket.references file. Is there an easy way to go about adding the same package/same version in all the projects with a…
Nomnom
  • 4,193
  • 7
  • 27
  • 37
1
vote
1 answer

F# build error: "No compiled representation for provided namespace"

Has anyone run into this error message before? Google found it for me in the source code (https://github.com/fsharp/fsharp/blob/master/src/fsharp/tast.fs), but I haven't the slightest idea what is causing it. This started happening when I tried to…
geysernrd
  • 83
  • 6
1
vote
1 answer

I can't use libraries installed with paket tool

I can't open namespaces of libraries i added via paket and use them. If i try to build the project, the compiler complains with error FS0039: The namespace 'bla bla' is not defined. [path of fsproj] But i can clearly see them added in…
buraky
  • 937
  • 1
  • 11
  • 18
1
vote
0 answers

How to use Paket restriction

How do I use restrictions in Paket please? For example, I have a paket.dependencies file with: framework: net48, net5.0, netstandard2.0 This results in a paket.lock with: RESTRICTION: || (== net48) (== net50) (== netstandard2.0) So I would expect…
Appetere
  • 6,003
  • 7
  • 35
  • 46
1
vote
2 answers

Share versions between Paket dependency groups?

In the examples for Paket dependency groups, there is often a "main" and "test" group: source https://api.nuget.org/v3/index.json storage: none framework: netcoreapp3.1, netstandard2.1 nuget FSharp.Core nuget FParsec group test source…
sdgfsdh
  • 33,689
  • 26
  • 132
  • 245
1
vote
1 answer

paket - how to install packages to project's local folder

Paket - how to install packages to project's local folder ? paket install always place nugets to some global directory likeC:/Users/xxx/.nuget/packages/fsharp.data/3.3.3/lib/net45/FSharp.Data.dll
baio
  • 1,102
  • 2
  • 12
  • 20
1
vote
0 answers

How do I reference a whole GitHub project using Paket?

According to the docs I can fetch a whole GitHub repository with a line like this in my paket.dependencies: // master branch github tpetricek/FSharp.Formatting // version 2.13.5 github tpetricek/FSharp.Formatting:2.13.5 // specific commit…
sdgfsdh
  • 33,689
  • 26
  • 132
  • 245
1
vote
2 answers

Where to download Paket.fsx

I'm trying to load a package using F# scripts on Jupyter notebook environment, using Paket package manager. All of the sample scripts on the web pointing to the use of "Paket.fsx" file. My question is where do I get the "Packet.fsx" file ?
himekami
  • 1,419
  • 3
  • 13
  • 21
1
vote
0 answers

Using PostSharp and Paket together ignores under some circumstances the weaving compiler run

I have used PostSharp and Paket for a while together in a project w/o any issues. After a while, the weaving compiler was not more triggered and PostSharp therefore useless. With some investigation, I could identify the root cause but I have no idea…
Marko A.
  • 73
  • 9