libgit2sharp: libgit2sharp 0.22 is not working with LinqPad and VS 2015

I have the latest libgit2sharp from NuGet (0.22.0) and the latest LinqPad (5.08.01). I’m getting the following exception:

DllNotFoundException: Unable to load DLL 'git2-785d8c4': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I’ve read though the discussion on #515 and added the following to my PATH, but to no avail:

%userprofile%\.nuget\packages\LibGit2Sharp.NativeBinaries\1.0.129\libgit2\windows\x86

Any advice on getting it working with LinqPad would be much appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 24 (9 by maintainers)

Most upvoted comments

Tell you what: I’ll release a LINQPad beta shortly that will use convention-based logic to detect NuGet packages with native dependencies and automatically modify the path. This will also work for other package such as System.Data.SQLite, and any package where the native DLLs are in a path containing \x86, \win-x86, \win7-x86, \x64, \amd64, \win-x64\ or \win7-x64\