I installed LibGit2Sharp and LibGit2Sharp.NativeBinaries with paket (first last stable version, then prerelease) and I am trying to use it in an F# script, but I keep getting this error:
Script1.fsx(3,1): error FS0229: Error opening binary file '../packages\LibGit2Sharp.NativeBinaries\runtimes\win7-x64\native\git2-381caf5.dll': ../packages\LibGit2Sharp.NativeBinaries\runtimes\win7-x64\native\git2-381caf5.dll: bad cli header, rva 0
Script1.fsx(3,1): error FS3160: Problem reading assembly '': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.
I also tried referencing it in a C# project (VS2015 -> tried diff target frameworks: 4, 4.5.2 and 4.6.1), but I'm getting this error:
Same errors with the last stable version. Any idea what I'm doing incorrect?
