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

Why can't I add packages with Paket?

I followed the instructions in the answer by smoothdeveloper in How to use paket from command line and now I have all three Paket directories in my solution. However, I cannot add packages either from the command line or from VS 2017. I tried to…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
3
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
  • 85
  • 5
3
votes
1 answer

Private Github Repository as Nuget Source with Paket

Is it possible to use a Github Repository as a Nuget Source with Paket? Looking at the documentation https://fsprojects.github.io/Paket/github-dependencies.html it doesn't appear to be the case, and I've tried applying a combination of the Github…
Grant Trevor
  • 1,052
  • 9
  • 23
3
votes
2 answers

Using paket offline

Is it possible to use paket having no connection to Nuget repository? We have our nuget repository where we store all necessary libs. We use paket to fetch it. Everything works fine while we are working under our company network or using vpn.…
3
votes
1 answer

Using VSCode and Paket to add file to `.fsproj`

I'm using VSCode and Paket to add libraries from Nuget to an F# project/.fsproj file. From VSCode, I use ctrl+shift+p and use the command Paket: Add Nuget Package (to current project) and enter FsVerbalExpressions version 0.4.0 Unfortunately, Paket…
Steven
  • 3,238
  • 21
  • 50
3
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
  • 622
  • 7
  • 12
3
votes
1 answer

RdKafka setup not finding/recognizing librdkafka in Visual Studio

Issue: RdKafka setup is not finding/recognizing librdkafka in Visual Studio 15 Context: In order to get started with RdKafka in visual studio 15, I ran the generic paket+nuget setup command (via powershell): paket add nuget rdkafka After this, I…
3
votes
2 answers

F# Type Provider dependency resolution - "Could not load file or assembly..."

I am encountering a "Could not load file or assembly... ... The system could not find the file specified" error when trying to consume my type provider. The error appears on building the consuming application but does not show up as a 'red squiggly'…
Stewart_R
  • 13,764
  • 11
  • 60
  • 106
3
votes
2 answers

How is the references created to fsc when building a F# project?

We have a F#-project that fails to build on teamctiy and can't figure out the solution to it. It seems like when building through teamcity the arguments to fsc is not correct for us. If I run msbuild /t:Rebuild /p:Configuration=Release manually on…
Tomas Jansson
  • 22,767
  • 13
  • 83
  • 137
3
votes
0 answers

JsonProvider Requires FSharp.Core 2.3.5

I'm trying to run the standard example for CsvProvider example on XUbuntu. But I get an error that says JsonProvider is missing the dependency for Fsharp.Core 2.3.5. So, I try to install it locally with paket (I'm using Atom and Ionide). But it says…
Jon49
  • 4,444
  • 4
  • 36
  • 73
3
votes
2 answers

I'm getting 400 (Bad request) in nuget paket server when I do paket push

i have run this command .\.paket\paket.exe push url "[ip]" file "bin" apikey "jenkins:jenkins" endpoint "/nuget/dev" Im getting some thing Pushing package bin to http://[ip]/nuget/dev - trial 1 Could not push bin: The remote server returned an…
3
votes
3 answers

entityframework code-first migrations paket

The nuguet package for EntityFramework (6.1.3) installs some tools that you can execute from the nuget package manager console (like AddMigration, Update-Database, etc.). Those are available if you use nuget and the appropiate .ps files are…
paudirac
  • 145
  • 8
3
votes
1 answer

Create package that references another package in solution

I often have this situation: Foo.sln Foo.csproj Foo.Wpf.csproj Then I create: A nuget package Foo.nupkg A package for Foo.Wpf.nupkg referencing Foo.nupkg. I could not find out how to specify that dependency in the docs.
Johan Larsson
  • 17,112
  • 9
  • 74
  • 88
2
votes
1 answer

Entity Framework NullReferenceException on second migration

I am using entity framework in an F# project (SAFE-stack) and I can create the initial migration, but when I try to do another migration it fails with a NullReferenceException. I'm on a SAFE-template 3.1.1, but if I add entity framework to a new…
Espen Brun
  • 103
  • 7
2
votes
1 answer

How do I get a bare bones F# app to compile with Paket?

Consider the following script below. I'm not sure what it takes to get my app to compile using Paket and I'm sure it's something small I'm missing. Does anyone have any insight? dotnet new console -n PaketApp -lang "F#" -o . dotnet new…
LockeGarmin
  • 195
  • 1
  • 1
  • 10