Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    I've already read the github/git page like 40 times
    λ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)
    Pim Brouwers
    @pimbrouwers
    Whats the syntax to include a Git project in a paket.references file?
    Pim Brouwers
    @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
    Anyone had similar issues?
    Harald Steinlechner
    @haraldsteinlechner
    same here
    Chet Husk
    @baronfel
    @anandasaran @haraldsteinlechner we're tracking the issue here: fsprojects/Paket#3550 it looks like there was a bad packaging step in this release. There's suggestions in that thread about how to pin the version of paket you use until a fixed version is released
    anandasaran
    @anandasaran
    @baronfel thank you
    λtlas
    @cloudrex
    Never figured it out really
    @pimbrouwers
    btrepp
    @btrepp
    Is there a way to specify version X on netFx and version Y on netstandard?
    Trying to libraries over to netstandard, but some legacy apps require older versions that don't exist on netstandard. Fine with these being conditionals, but I really need to tell paket to use version <2 for any netfx apps, and use version >2 for netstandard based oens
    btrepp
    @btrepp
    (actually it's more specific that some libs pull in old versions of libraries that do have netstandard support)
    Eg I need to basically use NodaTime <2.0 in any netfx projects, but for netstandard I need newer than 2.0 to use nodatime :(
    Ben Collins
    @aggieben
    @btrepp I just noticed something similar and popped in here to say so (regarding dotnet restore using nuget rather than paket)
    I thought paket didn't respect nuget.config files, but when I dropped a config file with <clear/> directives into my project root, paket worked just fine
    btrepp
    @btrepp
    @aggieben thanks. Though I'm not 100% how to apply that, and after being burnt so badly by nuget so many times, it fills me with fear :). I've resolved to work with two versions of some of my internal libraries, with the idea that apps need to switch over dotnet standard based when they can, and to find alternatives for anything that doesn't live in netstandard land natively
    btrepp
    @btrepp
    Is there any reason why paket+vs doesn't like argu for netcoreapp2.1?
    My project being on netfx, no worries argu is there. Change it to netcoreapp2.1 and everything else appears in references but argu.
    Seems to occur when I change it to netstandard20 aswell, that's bizarre
    btrepp
    @btrepp
    Ah i'm going to assume that having groups was the issue. I seperated my mixed apps into having two very independent groups and argu appeared again