libgit2 / libgit2/libgit2sharp

The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.

Open
#2,110 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.
LibGit2Sharp, Version=0.26.0.0
getting this error while trying to clone
.Net Framework 4.8
Basic authentication
certificate is Self signed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the clone failure on .NET Framework 4.8 with LibGit2Sharp 0.26.0, Basic authentication, and a self-signed certificate. Inspect the NativeMethods type initializer and capture the underlying exception; done means identifying a reproducible cause and documenting or fixing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.