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
1 answer

Is it possible to remove irrelevant restrictions from paket.lock?

I have discovered that my paket.lock file contains a lot of things I don't care about, e.g.: System.Memory (>= 4.5.3) - restriction: || (&& (< monoandroid) (< monotouch) (< net45) (>= netstandard1.3) (< netstandard2.0) (< win8) (< wpa81) (<…
psfinaki
  • 1,814
  • 15
  • 29
2
votes
1 answer

.net: adding a new source to Paket config

Background: I experienced what appeared to be a bug in System.CommandLine and noticed the Nuget package that I used (System.CommandLine.Experimental 0.3.0-alpha.19405.1) hadn't been updated for 3 months. I felt I should try out a nightly build…
nodakai
  • 7,773
  • 3
  • 30
  • 60
2
votes
1 answer

Microsoft.AspNetCore.App 2.2.7 not found in Docker image built from project using Paket

I have a docker image built from an F# project that uses Paket. At run time the image fails with: It was not possible to find any compatible framework version The specified framework 'Microsoft.AspNetCore.App', version '2.2.7' was not…
Kit
  • 2,089
  • 1
  • 11
  • 23
2
votes
2 answers

In a paket.dependencies file, what is the meaning of the operator `==`?

In a project's paket.dependencies file, I found thoses lines: nuget Microsoft.AspNet.Mvc == 5.2.6 nuget Microsoft.AspNet.Razor == 3.2.6 nuget Microsoft.AspNet.WebPages == 3.2.6 I checked the official documentation without success. My guess would…
aloisdg
  • 22,270
  • 6
  • 85
  • 105
2
votes
0 answers

What's necessary in order for release notes to appear for packages in TFS using Paket?

I've checked both paket.template to make sure that the Release Notes have the correct format according to the paket.template guide and tried pack.exe pack --release-notes both without the desired result. That desired result would be release notes…
Kofi Sarfo
  • 3,310
  • 6
  • 23
  • 24
2
votes
1 answer

Fake/Paket "specified module could not be found" in build file

I created the following Github repo to document the problem: https://github.com/red-swan/fake-sqlite-problem I am unable to build sqlite databases from an F# FAKE file relying on Paket. Adding the nuget package System.Data.SQLite to the…
jks612
  • 1,224
  • 1
  • 11
  • 20
2
votes
1 answer

Reference local project during development, nuget project when deployed

I'm developing a library for F#. It contains 3 projects, each of which are delivered in different packages (One is a core requirement for consumers, the others are optional). It looks like this: src/ - ConsoleWriter/ - ConsoleWriter.fsproj -…
David
  • 1,326
  • 9
  • 16
2
votes
1 answer

Are Paket dependency groups more than just a way to solve version conflicts?

The paket.dependencies sample file produced when running dotnet new fake currently looks like: // [ FAKE GROUP ] group Build source https://api.nuget.org/v3/index.json nuget Fake.DotNet.Cli nuget Fake.IO.FileSystem nuget…
oli
  • 682
  • 1
  • 12
  • 21
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
  • 4,000
  • 8
  • 42
  • 73
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
  • 143
  • 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,636
  • 3
  • 25
  • 38
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,406
  • 2
  • 25
  • 28
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
  • 13,822
  • 6
  • 66
  • 112
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
  • 5,269
  • 4
  • 34
  • 66
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,354
  • 7
  • 18