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

Can I change Nuget/Paket package installation location?

Whether using dotnet and paket from command line within project folder or utilising nuget from within Visual Studio 2019, the packages keep getting installed to c:\user\xyz.nuget\packages\ as if globally rather than locally in a folder within the…
Sasha Babaei
  • 455
  • 3
  • 8
0
votes
1 answer

nuget returning packages with nuget-feed's index.json in body instead of content

I'm using paket restore to download a large number of nuget packages from the https://api.nuget.org/v3/index.json feed. After downloading some packages successfully, it reports a InvalidDataException: End of Central Directory record could not be…
Appetere
  • 6,003
  • 7
  • 35
  • 46
0
votes
0 answers

Could not load file or assembly "Microsoft.Diagnostics.Tracing.EventSource" exception

I have an application that uses RabbitMQ.Client library. This library has a dependency on Microsoft.Diagnostics.Tracing.EventSource (v1.1.28) library. Now, I have Microsoft.Diagnostics.Tracing.EventSource library with v2.0.1 in my project. So I get…
Gaurav Ahuja
  • 885
  • 1
  • 7
  • 11
0
votes
1 answer

Cannot restore NuGet packages using Paket in Azure Pipelines (Artifacts feed)

I'm trying to define a pipeline that builds for .NET Core solution. Dependencies are managed by Paket. A dependency is downloaded from Azure Artifacts feed. In first stages I thought the problem was Paket and I was able to define a pipeline that…
gsscoder
  • 3,088
  • 4
  • 33
  • 49
0
votes
0 answers

Where does paket save it's global cache in the Window's WSL

Where does paket save it's global cache ? Specifically in the Window's WSL (Ubuntu 18.4 in my case). I found that generate-load-scripts, generates namespace PaketLoadScripts #r…
Dan
  • 2,818
  • 23
  • 21
0
votes
1 answer

dotnet pack with paket fails on core 2.1 - The licenseUrl and license elements cannot be used together

dotnet pack with paket fails with The licenseUrl and license elements cannot be used together This error is due to changes in dotnetCore SDKs between versions 2.1 and 2.2 Unfortunately, on my Jenkins agents there is only core 2.1 - I started nagging…
Krzysztof Skowronek
  • 2,796
  • 1
  • 13
  • 29
0
votes
3 answers

Best way to authenticate in Azure DevOps YAML pipeline to access my Azure DevOps package feed (used by Paket commands)

When calling Paket install via a command line step the script issues an unauthorized exception (401) when trying to access my Azure DevOps package feed (with upstream sources). Running the build steps on my local system works using the Git…
Wolfy
  • 3
  • 4
0
votes
1 answer

Paket Newtonsoft ASP.NET 4.5

This is ASP.NET 4.5 console application. The error that I am getting is: CalculateArrivalDate.cs(14,11): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)…
penny
  • 23
  • 1
  • 5
0
votes
1 answer

Visual Studio always rebuilds solution with Paket

I'm very interested in using Paket instead of Nuget for my Packages in Visual Studio. That works so far also fine. But the issue is, that Visual Studio always thinks that the app.config of each project has been changed. But looking into my changes…
CodeRain
  • 69
  • 11
0
votes
0 answers

What happens if Nuget and Paket versions of the same package have different versions in my solution?

I installed Paket for Visual Studio from https://marketplace.visualstudio.com/items?itemName=SteffenForkmann.PaketforVisualStudio. Then I created a new project (actually a solution) and checked immediately that a NuGet package called…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
0
votes
0 answers

Loading nuget package sources dynamically depending on environment with Paket

I have a C# automation solution which uses internal nuget packages. Having multiple staging environments I would like to load the nugets depending on the environment I am running on. If I am on a certain environment I would need to load the packages…
David
  • 83
  • 1
  • 8
0
votes
1 answer

Paket won't download logary on install

Im admittedly a pretty big paket noob. When I run mono paket.exe install I get Paket failed with -> Could not download from…
DotNetRussell
  • 9,716
  • 10
  • 56
  • 111
0
votes
1 answer

Generate an API key for VSTS package manager

I use paket as a dependency management tool and am just starting to use Visual Studio online (VSO) to host the source and do the building. When I do a paket restore (or try to upload a nupkg) I get a 401. VSTS uses a credential manager which seems…
Dylan
  • 1,306
  • 1
  • 11
  • 29
0
votes
0 answers

Why Paket can no longer install any packages?

I updated Visual Studio Community to Version 15.2, 26430.14 release and I can no longer install packages using Paket. When I right-click on References and then click on Add Package I get the following message in the Error List window: The type…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
0
votes
1 answer

Project containing a Fody Name.Of weaver works depending on containing solution

I experience the problem that in one solution the Fody weaving, in my case Fody.NameOf, doesn't work. I created a new solution, copied the project in question and in this solution, the weaving works! In the new solution I didn't configure anything…
Onur
  • 5,017
  • 5
  • 38
  • 54