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
1
vote
0 answers

How to add/remove github dependancy with paket?

The docs say the command requires a package ID My paket.dependencies looks like this: source https://api.nuget.org/v3/index.json nuget Xamarin.Essentials 1.0.1 nuget Xamarin.Forms 4.0.0.425677 github dotMorten/XamarinFormsControls And I can…
lolelo
  • 698
  • 6
  • 18
1
vote
0 answers

How does VS 2017 determine .NET Standard dependencies from Paket?

I have a proof-of-concept solution that has a .NET Standard project in it. I use Paket to manage my nuget dependencies. I am able to use paket add and dotnet restore, per these instructions, to add a nuget dependency to that project. When I reopen…
BobbyA
  • 2,090
  • 23
  • 41
1
vote
1 answer

Paket + FAKE + swapping dependencies in CI tool

I'm messing about with some FAKE and Paket (on F#) and Jenkins, not really sure I know what I'm doing but I know what I WANT to do. The short description is I want the build server to build a whole family of related services against a referenced…
MrD at KookerellaLtd
  • 2,412
  • 1
  • 15
  • 17
1
vote
0 answers

Why Accord.MachineLearning has been duplicated in the Solution Explorer References list?

I am starting a new Console Application F# project in Visual Studio version 15.8.1. Using paket, I installed these packages: Accord Accord.Math Accord.Statistics Accord.MachineLearning So far so good. But when I installed Accord.MachineLearning.gpl…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
1
vote
1 answer

How do I compile a NuGet project from the command line?

I want to compile a C# project with NuGet dependencies without using Visual Studio (too heavy to download again). How could I do that? With a normal Rust project I just need to run either cargo build or cargo rustc, for example, so I wonder how I…
user10018213
1
vote
1 answer

Is there a way to configure Paket to share a Nuget packages folder across repositories?

The use case here is that we have a bunch of repositories for small applications that use similar sets of dependencies. They all do different things, and if each application has it's own packages folder it ends up eating up a ton of space on disk.…
Jereme
  • 1,445
  • 1
  • 16
  • 32
1
vote
1 answer

How do you include a + sign in a filename in paket? It ends up url-encoded

If you have a paket file with a files section like this: files ../bin/profile259/Foo.dll ==> lib/pq+ Then paket pack will insert a url-encoded filename lib/pq%2B in the nupkg file that it builds. What's the right way to specify a filename…
James Moore
  • 8,636
  • 5
  • 71
  • 90
1
vote
1 answer

Paket access denied on Fake

I have a problem with Paket when it tries to pack the dlls for my project, I just get a "Paket failed with: Access to the path is denied", I have the following configuration In the postbuild event for VisualStudio I call a bat file to call the…
Nekeniehl
  • 1,633
  • 18
  • 35
1
vote
1 answer

Is it possible to implement snapshot versioning with Paket?

Maven is a dependency manager in the Java world. It supports snapshot versioning. In Maven-speak a dependency is called an artifact. An artifact with a fixed version number (e.g. 1.0.1) will be downloaded only once because it will never change. On…
Olaf
  • 3,786
  • 4
  • 25
  • 38
1
vote
1 answer

Ripple to Paket -- is there a better way?

I'm in the process of converting a handful of projects from ripple to Paket. The way I do this is install Paket, then take my ripple.config and copy my sources and nugets over to my paket.dependencies, taking care to == the versions that I have…
Dave Matney
  • 87
  • 11
1
vote
2 answers

namespace or module FsCheck is not defined

I am starting to get my hands dirty with F# on Mac OS X but can't make it to work (F# version is 3.1 and Mono version is 4.0.2). I am using packet for dependency management and have already installed some libraries. This is how my…
jarandaf
  • 4,297
  • 6
  • 38
  • 67
1
vote
1 answer

Use paket in legacy solutions

We have several legacy solutions with the following folder structure: root-folder Solutions Solution 1 BuildOutput Sulution 1.sln ... Solution 2 BuildOutput Sulution 2.sln ... Solution 3 BuildOutput Sulution…
WebDucer
  • 1,114
  • 2
  • 16
  • 39
0
votes
0 answers

Visual Studio assembly location seems to be overridden by a certain package

I'm working with an AWS Lambda project My dev environment: IDE: VS Professional 2022 version 17.4.0 Target framework: .NET 6 Package management: paket This project requires packages Microsoft.Extensions.Hosting and Serilog.AspNetCore However, I…
ytingyeu
  • 13
  • 3
0
votes
1 answer

What is the format to add a comment in a paket's file?

My current pake.dependencies look like this: source https://api.nuget.org/v3/index.json storage: none framework: netstandard2.0 strategy: min lowest_matching: true nuget FSharp.Core >= 5.0.0 nuget TypeShape >= 10.0.0 group test source…
aloisdg
  • 22,270
  • 6
  • 85
  • 105
0
votes
1 answer

Migrating to paket: use Windows only

I've been trying to migrate my repository to use paket with convert-from-nuget and in general everything goes smooth. The only problem I have is I noticed that my netstandard2.0 projects started to download non-Windows versions of some NuGet…
LA.27
  • 1,888
  • 19
  • 35