Missing Method Exceptions

I have several queries that give me a missing method exception in LinqPad 5, but not in LinqPad4.
I've just discovered it's not restricted to F#.
In many cases, I tried adding a manual reference to FSharp.Core.dll, but that didn't help

examples (just the ones I've managed to re-find since finding them working in VS or giving up) :
http://share.linqpad.net/dfo2pe.linq (still works in linqpad 4)
http://share.linqpad.net/r92xt3.linq (still works in linqpad 4)
http://share.linqpad.net/eqc296.linq (still works in linqpad 4) - https://github.com/kerams/Templatus/issues/18

// this one needs the templatus package downloaded (which linqpad says doesn't contain any .net packages, then deletes the download, so I have to manually download it outside of nuget)
http://share.linqpad.net/92x6fa.linq

looks like the last one works in linqpad 4 regardless of C# or F#, but missingmethod exception in linqpad5

Comments

  • this is my other bug post, I'm not sure it still occurs. and I just discovered how to find all discussions I've participated in on this site. Hurray for me =)
  • This should now be fixed (in latest beta). Just add a reference to the latest FSharp.Core.dll. (Previously, when you added a reference to FSharp.Core, it didn't always take priority over the built-in compiler reference, but now it does.)
  • edited November 2016
    still happening, here for example: http://share.linqpad.net/rlolam.linq
    looks like in this one, if I remove the reference to FSharp 4.4 and add one to 4.3 it runs, so I'm thinking it is binding redirect related.
  • edited November 2016
    which then compiles, but throws later when I use a method from a referenced lib that uses F# 4
  • I've just uploaded another beta that automatically generates binding redirects for FSharp.Core. This should fix the problem in the sample query.
  • ok thanks, I'll check it out
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!