Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6295f9

Browse files
ManualMaster change: we need to deploy and always use win x64 version of git dll
1 parent e5fdf1b commit b6295f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static NativeMethods()
3232
string nativeLibraryDir = GlobalSettings.GetAndLockNativeLibraryPath();
3333
if (nativeLibraryDir != null)
3434
{
35-
string nativeLibraryPath = Path.Combine(nativeLibraryDir, libgit2 + Platform.GetNativeLibraryExtension());
35+
string nativeLibraryPath = libgit2 + Platform.GetNativeLibraryExtension();
3636

3737
// Try to load the .dll from the path explicitly.
3838
// If this call succeeds further DllImports will find the library loaded and not attempt to load it again.

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[1.0.258]" PrivateAssets="none" />
32+
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="1.0.260" PrivateAssets="none" />
3333
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="all" />
3434
<PackageReference Include="Nerdbank.GitVersioning" Version="2.2.13" PrivateAssets="all" />
3535
</ItemGroup>

0 commit comments

Comments
 (0)