Skip to content

System.TypeLoadException : Method 'get_LineCount' in type 'lexer@289' from assembly 'FSharp.CodeFormat #301

Closed

Description

@ovatsus

I did a paket update:

image

And now I get this when running the documentation tests:

image

Is there something I need to fix?

Activity

  1. forki commented on Apr 19, 2015

    @forki
    Member

    I saw this before and I thought @tomaspetricek said that we we need to pin a dependency (IIRC the powetools). But I would like to see the pin happen directly in FSF so that it solves it for everyone.

  2. matthid commented on Apr 19, 2015

    @matthid
    Member

    Lock FSharpVSPowerTool to 1.7.0, see #294 #277.
    I think this is already fixed in master, there is just no NuGet release with the fix (jet).

  3. forki commented on Apr 19, 2015

    @forki
    Member

    Ok what is missing? Why can't we just release this fixed version on nuget?

  4. ovatsus commented on Apr 19, 2015

    @ovatsus
    Author

    Humm, I'm not even referencing FSharpVSPowerTool directly, should I?

  5. matthid commented on Apr 19, 2015

    @matthid
    Member

    @ovatsus Either that or stay on an older FSharp.Formatting version

    @forki: We need to ask @tpetricek, but I would assume he wants to look over the open PRs or do some further testing or just has not found the time to do it :).

    It's a bit sad that the next release will probably break everyone who locked the powertools version again. Does paket throw an error if FSharp.Formatting is locked to 1.8 and the dependencies file is locked to 1.7 or will it simply use 1.7?

  6. forki commented on Apr 19, 2015

    @forki
    Member

    No normally you shouldn't. That's why I'd like to see a new fsf package. But in order to get your current issue fixed: Yes you need to add the powetools to the dependencies file and pin the version.

    Or you revert the update and wait a bit.

  7. forki commented on Apr 19, 2015

    @forki
    Member

    @matthid: it will not throw. It will just not update since it tries to unify all requirements. That means it will install the latest fsf that's compatible to your pinned powertools version. That means it might never update again - until you remove the pin.

  8. ovatsus commented on Apr 19, 2015

    @ovatsus
    Author

    BTW, that paragraph should be on Paket docs

  9. ovatsus commented on Apr 19, 2015

    @ovatsus
    Author

    (and the output of paket should maybe log when it doesn't get the latest of some package because of a pin of a dependent package)

  10. forki commented on Apr 19, 2015

    @forki
    Member

    Good idea. I created two issues

  11. ovatsus commented on Apr 19, 2015

    @ovatsus
    Author

    Great, thanks!

  12. tpetricek commented on Apr 21, 2015

    @tpetricek
    Member

    Sorry everyone for the delay…

    @tpetricek not only had to do some testing, but also had to do one talk in Prague, another at F# eXchange, move to Cambridge, do F# trainings & various other stuff. Oh, and he also didn’t have internet at home…

    In any case, new version of F# Formatting with all the fixes should now be released!

    From: matthid [mailto:[email protected]]
    Sent: Sunday, April 19, 2015 12:56 PM
    To: tpetricek/FSharp.Formatting
    Cc: Tomas Petricek
    Subject: Re: [FSharp.Formatting] System.TypeLoadException : Method 'get_LineCount' in type 'lexer@289' from assembly 'FSharp.CodeFormat (#301)

    @ovatsus https://github.com/ovatsus Either that or stay on an older FSharp.Formatting version

    @forki https://github.com/forki : We need to ask @tpetricek https://github.com/tpetricek , but I would assume he wants to look over the open PRs or do some further testing or just has not found the time to do it :).

    It's a bit sad that the next release will probably break everyone who locked the powertools version again. Does paket throw an error if FSharp.Formatting is locked to 1.8 and the dependencies file is locked to 1.7 or will it simply use 1.7?

    —
    Reply to this email directly or view it on GitHub #301 (comment) . https://github.com/notifications/beacon/AAdoJZRaJdHXQCGcL6WxiLKZaJzmiSeMks5oA49ggaJpZM4EDst3.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions