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

Why Paket installs way more packages than Nuget?

Why Paket installs way more packages than Nuget by default? Is it normal behaviour or am I doing something wrong? I followed Getting Started guide (but with the help of paket.powershell which I installed by choco install paket.powershell): I made a…
Bad
  • 4,967
  • 4
  • 34
  • 50
10
votes
2 answers

How to use paket from command line

I installed paket from nuget in Nuget Package Manager Console with: Install-Package paket I then tried to run paket convert-from-nuget. It stalled out on a user prompt (it wouldn't let me type into the package manager console). My next thought…
BradleyDotNET
  • 60,462
  • 10
  • 96
  • 117
8
votes
2 answers

MSB4020: The value "" of the "Project" attribute in element is invalid

I have a solution with .NET Framework projects in mostly F# and then a few in C#. I use Paket instead of NuGet for packet management. Now I've added my first .NET Standard 2.0 library to this solution. When I run my build script, which runs another…
Bent Tranberg
  • 3,445
  • 26
  • 35
8
votes
2 answers

Why does Paket need three files to support dependency management?

I am a Java developer used to Maven and Gradle, now coming into .NET and trying to understand Paket. From my understanding, Paket has three different files supporting a .NET solution's dependency management: a root paket.dependencies file where…
jmrah
  • 5,715
  • 3
  • 30
  • 37
5
votes
1 answer

How to get correct resolution folder of F# Type Provider when referencing assemblies via #load?

I'm writing a type provider which allows the user to supply a configuration file to it. I use the TP's internal configuration object to identify the ResolutionFolder, which I use to get the fully-qualfied path to the config file. Great. However,…
Isaac Abraham
  • 3,422
  • 2
  • 23
  • 26
5
votes
1 answer

How can I reference in paket.references a file from a git repository?

I have a TFS git repository in my paket.dependencies file: git http://mytfs1server:8080/tfs/2015Projects/_git/DEV-Commons Withing that repository, there is a file "src/Tools.fs" In the paket.references file, how do I tell Paket to add a reference to…
Juan Tarquino
  • 967
  • 7
  • 13
5
votes
1 answer

Paket framework restriction differences

I have added Argu to my project and about 700MB of packages were downloaded together with it. This is related to Paket installs extra packages however I would like to undestand the subtle differences in specifiying the framework restrictions with >=…
s952163
  • 6,276
  • 4
  • 23
  • 47
4
votes
3 answers

Java developer needs help understanding the .NET build process in F#

Most of my development has been in Java, where I am used to having a runtime, a compiler, and a build tool. So now I'm trying to come into the .NET world, specifically using VSCode, Ionide plugin, and F#, to build an F# program. I'm having a hard…
jmrah
  • 5,715
  • 3
  • 30
  • 37
3
votes
0 answers

F# type conflict

I am using the parseFile function from Fantomas.FCS as follows: open FSharp.Compiler.Text open Fantomas.FCS.Parse // ... let ast, errors = parseFile false (FSharp.Compiler.Text.SourceText.ofString "let mutable x = 3") [] However, the compiler says…
3
votes
0 answers

Paket: what is the point of the framework restrictions?

The paket.dependencies page of the Paket documentation describes the purpose of the framework restriction field framework very briefly, and I still don't understand what it does. Apparently, the specified frameworks will cause Paket to download and…
CarbonFlambe
  • 366
  • 1
  • 12
3
votes
0 answers

F# SAFE template: How to add library to the server?

I am trying to learn to use the SAFE framework and have installed the SAFE template. I want to add some code to the server which interacts with a MySql DB, but nothing I have tried seems to result in VS2019 recognizing a reference to the MySql.Data…
Chechy Levas
  • 2,206
  • 1
  • 13
  • 28
3
votes
1 answer

Why does Paket try to bring in hundreds of dependencies for CliWrap?

I'm using the latest .NET Core SDK on Ubuntu (dotnet-sdk-2.1 version 2.1.403) and I'm trying to install CliWrap on an empty project. (In fact it's not even a project, it's a directory with .fsx files that load the dependencies using the #r F#…
Tobia
  • 17,856
  • 6
  • 74
  • 93
3
votes
1 answer

Paket include-referenced-projects with project references

I have a solution that looks like this: -> Proj A -> proj B Proj B references Proj A Both projects have a paket.template that looks like this: When I paket pack, I get two nugets created, one for each project. Fantastic. However, I now want to…
Andrew Bullock
  • 36,616
  • 34
  • 155
  • 231
3
votes
0 answers

Improve edit-run cycle time on .Net Core

I'm trying to improve the performance in Logary and am bumping into an unexpected issue with .Net Core; even a single-character change in Logary.PerfTests causes a complete restore throughout all of the repository (I think), with this as a…
Henrik
  • 9,714
  • 5
  • 53
  • 87
3
votes
1 answer

Paket TimeoutException

I have the following paket.dependencies: source https://www.nuget.org/api/v2 nuget Fable.Compiler 1.3.0-beta-002 beta nuget FSharp.Core nuget Fable.Core prerelease nuget Fable.Import.Browser clitool dotnet-fable 1.2.0-beta-005 group…
HMR
  • 37,593
  • 24
  • 91
  • 160
1
2 3 4 5 6 7