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.
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 ?