libgit2 / libgit2/libgit2sharp
Natives libraries are not disposed
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm using libGitSharp under IIS pool, when IIS pool is off I can compile my VS solution without any problems, but it I want to recompile the web site when the pool process is up, I always get an error with git2-106a5f2.dll assembly that is loaded and never disposed. All my libgitsharp code is around a USING statement.
Reproduction steps
Create a web project, code something with libgitsharp, run it, try to recompile the project
Expected behavior
I should be able to recompile my project without errors
Actual behavior
I get following error :
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4943,5): warning MSB3061: Unable to delete file "....\bin\lib\win32\x64\git2-106a5f2.dll". Access to the path '...\bin\lib\win32\x64\git2-106a5f2.dll' is denied.
Version of LibGit2Sharp (release number or SHA1)
LibGitSharp 0.26.2
Operating system(s) tested; .NET runtime tested
Windows 10 2004, .NET 4.6.2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Windows 10 上の IIS での Web プロジェクトの再現と、報告された USING ステートメント内の libGitSharp コードから始めてください。Web サイトの実行後に、ロードされた git2-106a5f2.dll がどのように保持されるかを調査し、その後、IIS プールがアクティブなまま再コンパイルして DLL を削除できることを確認することで、修正を検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100