## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
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.
btrepp
@btrepp
As anyone ever had dotnet restore refuse to use paket internally?
I'm not sure whats happened, I'm pretty sure it used to call paket, now it appears to be only using nuget (and thus going to default sources, rather than what I have specified in paket.dependencies)
Mathijs Pim
@pimbrouwers
Whats the syntax to include a Git project in a paket.references file?
Mathijs Pim
@pimbrouwers
@cloudrex Did you ever figure this out?
anandasaran
@anandasaran
We have an issue - Paket failed with
-> Resource stream 'Paket.Restore.targets' could not be found in the Paket.Core assembly