## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
λtlas
@cloudrex
when I run dotnet build a huge load of errors come up, mostly saying: "Type 'X' already defines a member called 'X' with the same parameter types [...]"
Atle Rudshaug
@atlemann
@PMudra rumors has it you need to target net472 to reference a netstandard2.0 lib.
Philipp Mudra
@PMudra

@PMudra rumors has it you need to target net472 to reference a netstandard2.0 lib.

Thank you! For anybody else interested in this topic: fsprojects/Paket#3248

Bartosz Sypytkowski
@Horusiath

Hi folks, have you ever got problem with Paket (5.184.0) stuck in the infinite loop? I'm getting this line over and over:

The process is taking longer than expected.
Paket may still find a valid resolution, but this might take a while.
Conflict detected:

• SSH.NET 2016.1.0 requested package System.Security.Cryptography.Algorithms: >= 4.2
• System.Net.Http 4.3.4 requested package System.Security.Cryptography.Algorithms: >= 4.3
I'm using strategy:min with redirects:off
Kelly Elton
@kellyelton
I can't find any documentation on where paket stores dependencies it downloads
Jimmy Byrd
@TheAngryByrd
if I use github feature to pull an F# file, (like github MyRepo/Myproject Foo.fs) is it expected for paket to search for a paket.dependencies file within that repository and pull those dependencies too?
Jonathan Curran
@joncfoo

Hi, I'm trying to create a new project on Linux and am running into an issue while running paket:

mkdir -p newproj/.paket
cd newproj
dotnet .paket/paket.exe

A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/home/jonathan/src/fsharp-connect/.paket/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /home/jonathan/src/fsharp-connect/.paket/paket.runtimeconfig.json file specifying the appropriate framework.

I guess I'm missing a step somewhere? Thoughts?

Jonathan Curran
@joncfoo
got it to work with using dotnet tool install -g paket
Harald Steinlechner
@haraldsteinlechner
i'm still struggling with paket.local usage. i asked some month's ago. https://gitter.im/fsprojects/Paket?at=5ba4eb7a1ee2ca65024c3ade
i get the warning's during restore an all seems proper
however in visual studio it is appearent that the references are still resolved using the ones in the .nuget cache
is this the normal behavious and some magic is changing the reference internally? Interestingly, the version in the packages folder gets properly overwritten by paket restore respecting packages listed in paket.local
if this is a problem i would investigate further of course but i'm completely lost here - don't know where i should start, dotnet /obj folder and its configs or paket itself
Harald Steinlechner
@haraldsteinlechner
<NuGetPackageFolders Condition=" '\$(NuGetPackageFolders)' == '' ">C:\Users\user\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
in .fsproj.nuget.g.props nothign is talking about either the packages folder in the repo or whatever. adding the local path here of cousre does not help since this is overwritten by builds
Harald Steinlechner
@haraldsteinlechner
i might be hitting this: fsprojects/Paket#3116 i assume this is the same for fsproj? (this is my proj file) https://github.com/aardvark-community/hum/blob/master/src/hum/hum.fsproj
Harald Steinlechner
@haraldsteinlechner
i think replacing ParackeReference n Paket.Restore.targets with a real reference to all dll's would solve the problem
same as for the old framework level, just on msbuild xml level as sick at it is
omg. even manually added references get rewritten to global folder
Bastian Schmidt
@batzen
Hi there. I am trying to convert my project to netcoreapp3.0 but paket 5.189.1 says "Could not parse framework 'netcoreapp3.0'.". According to fsprojects/Paket#3367 this should work, shouldn't it?
hienng
@hienng
Hi, how do i pronounce "Paket" ?
Florian Verdonck
@nojaf
nawfalhasan
@nawfalhasan
I'm sorry if this has been asked numerous times before but does paket play nicely with packagereference ? Basically I want to use paket but I want all my dependencies to be listed in csproj file itself, not in some packages.config file.
Florian Verdonck
@nojaf
I think convert-from-nuget CMD works as well.
Ntakwing
@alexandrosntak
How does Paket choose which version of a package is the latest?
Florian Verdonck
@nojaf
I would expect it check the nuget api, no idea though
Ntakwing
@alexandrosntak
@nojaf I have a case where the NuGet Package Manager considers a version '0.1.0-PullRequest0001.15' newer than a '0.1.0-alpha.16', although the second one was published a day later. Paket does seem to work in another(correct) way compared to the NuGet Package Manager, so I was wondering how it is determined. Thank you anyway. :)
Harald Steinlechner
@haraldsteinlechner
here is docu on how package resolution works: https://fsprojects.github.io/Paket/resolver.html
Ntakwing
@alexandrosntak
Oh, great, thank you :)
Harald Steinlechner
@haraldsteinlechner
λtlas
@cloudrex
hi
I've been trying to use a class library project hosted on github on another project for about 2 weeks now and just been errors after errors
is it because it's not supported?
I add a git http://github-path.git to my class library project, under paket.dependencies
then a reference to paket.references MyLibFromGithub then when I build it says MyLibFromGitHub isn't in paket.lock
I understand why it's not in paket.lock (because I guess it has no way of knowing the name of the library pulled from github?)
how would I go about fixing that
λtlas
@cloudrex
am I supposed to build the project into a package (nuget package) and include in the github repository?
then do something like this: git https://github.com/<User>/<Priv NuGet repo> [branch|label] Packages: <path to .nupkg files> (Notice the Packages: )
is that required for what I'm trying to accomplish?
because it would be a pain building packages for every commit
λtlas
@cloudrex
also I'm using .net core for my projects
X-lem
@X-lem

I have a ZIP file with a number of dll's. I want to add these dll's with Paket.

So far in my dependencies folder I have: http file:///c:/Users/X-lem/source/repos/Dlls.zip DLL/Dlls.zip

Then in my references folder I have: File:Dlls.zip .

This isn't importing any of the dlls in the zip folder though to my project's references. I see in my paket-files/localhost folder the zip has been copied and unzipped. How can I reference all of the Dlls in a Zip file without tediously manually added them?

Florian Verdonck
@nojaf
@X-lem I think you are asking a bit too much here ;)
X-lem
@X-lem
@nojaf I don't follow. Looking through the history of the channel it appears to be support help for Paket. Is there another channel I should be asking on?
Florian Verdonck
@nojaf
Sorry I meant the functionality of Paket, this is the correct place to ask question though.
I merely meant to say that I don't think Paket supports your scenario.
X-lem
@X-lem
I understand. What would be the point of referencing a zip file then? The documents describe the functionality to do it (https://fsprojects.github.io/Paket/http-dependencies.html) but I don't see the point of it then if you're unable to actually use the files inside the zip folder.