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.

Assessment

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

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.

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

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

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.

More from libgit2/libgit2sharp

All issues in libgit2/libgit2sharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.