Skip to content

Unable to load DLL 'git2': The specified module could not be found #39

@ChuckSavage

Description

@ChuckSavage

This is a cross post from http://stackoverflow.com/questions/6313203/unable-to-load-dll-git2-dll-the-specified-module-could-not-be-found/6315033#6315033

I'm using VS2008 and had to create a new solution since the solution and csharp files are .Net 4.0. As far as I could tell its just default parameters that I had to create overloaded methods to handle them to convert to 3.5.

I've copied the git2.dll into every bin folder and have linked it and set copy if newer, but still get the "Unable to load DLL 'git2'" error for

Repository.cs
Line 27: var res = NativeMethods.git_repository_open(out handle, PosixPathHelper.ToPosix(path));

I'm trying to use the library in a ASP.NET website via a custom-controls library.

Metadata

Metadata

Assignees

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