libgit2 / libgit2/libgit2sharp.nativebinaries

git2.dll not released

Open
#66 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
35
Forks
74
PR merge metrics
No merged PRs in 30d

Description

I am using libgit2sharp hosted in IIS. When deploying new code I get this error:

2018-03-19T14:15:27.2372085Z 2018/03/19 10:15:27 ERROR 32 (0x00000020) Copying File F:\xxx- xxx\bin\lib\win32\x64\git2-dd2d538.dll
2018-03-19T14:15:27.2372085Z The process cannot access the file because it is being used by another process.

It there a way to unload this dll ?

Contributor guide

No contributing guide indexed for this repository

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 deployment scenario in IIS and tracing how libgit2sharp loads git2.dll during application use. Determine what keeps the DLL locked and verify that a deployment can replace it without the process reporting the file is in use.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
infrastructure
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.