Closed flypixel closed 8 years ago
yeah that sounds like FSharp.Core issue.
did you bind against paket.exe or Paket.core?
paket.exe, like in the example
Which VS version and f# version? On Dec 7, 2015 3:42 PM, "flypixel" notifications@github.com wrote:
paket.exe, like in the example
— Reply to this email directly or view it on GitHub https://github.com/fsprojects/Paket/issues/1295#issuecomment-162543897.
Sorry I'm at work and fsharp is at home. But it seems that version of fsharp is 4.0.0.1, and of course I don't use Visual Studio (if you mean that by VS), because of
on Ubuntu
I use emacs if it can help, and also I run script with fsharpi with same results
Yeah I guess the issue is that we built against FSharp.Core.dll 4.4.xx On Dec 7, 2015 4:01 PM, "flypixel" notifications@github.com wrote:
Sorry I'm at work and fsharp is at home. But it seems that version of fsharp is 4.0.0.1, and of course I don't use Visual Studio (if you mean that by VS), because of
on Ubuntu
I use emacs if it can help, and also I run script with fsharpi with same result
— Reply to this email directly or view it on GitHub https://github.com/fsprojects/Paket/issues/1295#issuecomment-162549120.
OK, I'll check and write reply to you from home. Thanks.
Sorry, only for note: it's the same problem on windows with f# core version 3.3.1.0 Scripts, that i use, are in attachment
yes it's incompatible unfortunately.
2015-12-07 17:44 GMT+01:00 flypixel notifications@github.com:
Sorry, only for note: it's the same problem on windows with f# core version 3.3.1.0 Scripts, that i use, are
in attachment
— Reply to this email directly or view it on GitHub https://github.com/fsprojects/Paket/issues/1295#issuecomment-162586982.
Sorry again, but I checked the version of FSharp.Core and it is 4.4.0.0
pixel@pixel-X751MD:/usr/lib/cli/FSharp.Core-4.3$ monodis --assembly FSharp.Core.dll Assembly Table Name: FSharp.Core Hash Algoritm: 0x00008004 Version: 4.4.0.0 Flags: 0x00000001 PublicKey: BlobPtr (0x00002087)
Is there any solution to this? I have the same problem with referencing the paket.exe on OS X using Mono.
Edit: And on windows. I have installed the latest F# Tools 4.0 Bundle from Microsoft and VS 2015 Community. When I try to execute the referenced example in fsi, the aforementioned error occurs.
This is the error:
Microsoft (R) F# Interactive version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
> #r ".paket/paket.exe";;
--> Referenced 'D:\Projekte\dev\NiceTry\.paket/paket.exe' (file may be locked by F# Interactive
process)
> open Paket;;
> let deps = Paket.Dependencies.Locate();;
val deps : Dependencies
> deps;;
val it : Dependencies =
Paket.Dependencies
{DependenciesFile = "D:\Projekte\dev\NiceTry\paket.dependencies";
RootPath = "D:\Projekte\dev\NiceTry";}
> deps.GetInstalledPackages();;
error FS0192: internal error: convMethodRef: could not bind to method
Ok, found a solution myself: Just reference the Paket.Core nuget package instead of the paket.exe.
ok, thank you, I'll try
I'm running into this too. Isn't there anything I can do to fix this?
For the record, this error happens in general when you are running from fsi a dll that was built with a higher version of FSharp.Core than the one that your fsi version supports.
error FS0192: internal error: convMethodRef: could not bind to method I get this error, when I try to use paket from fsi on Ubuntu, after I call dependencies.GetInstalledVersion "FSharp.Data" as in the example . Version of mono is 4.2.1.102. Paket version 2.33.1.0