git2.dll not released

Open
#66 0 comments 0 reactions 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
git

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.

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 ?

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

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.

More from libgit2/libgit2sharp.nativebinaries

All issues in libgit2/libgit2sharp.nativebinaries

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.