Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to update LibGit2Sharp package version from 0.25.2 to 0.26.0-preview-0054? #240

Closed
pmunshi007 opened this issue Nov 1, 2018 · 1 comment
Labels

Comments

@pmunshi007
Copy link

Actually I am facing issues while building my application which uses Nerdbank.gitVersioning on CentOS docker container because of LibGit2Sharp library. I am receiving multiple errors as below

/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load DLL '/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/lib/linux/x86_64/libgit2-6311e88.so': The specified module or one of its dependencies could not be found.
 /root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:    at LibGit2Sharp.Core.NativeMethods.git_libgit2_init() 
/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018:    at Nerdbank.GitVersioning.GitExtensions.OpenGitRepo(String pathUnderGitRepo) 

I tried to resolve issue by building LibGit2Sharp binaries on CentOS but as per the conversation on libgit2/libgit2sharp.nativebinaries#78 issue I was heading towards wrong direction.

I guess the new preview version of LibGit2Sharp (0.26.0-preview-0054) works fine with CentOS as per my conversation on above issue. Is it possible to updated this package version soon in next release for Nerdbank.GitVersioning repository?

Your help and support would be really appreciated. I am stuck with this issue since last 2 days.

@AArnott
Copy link
Collaborator

AArnott commented Nov 2, 2018

This exact upgrade is already in progress, and tracked by #228.

@AArnott AArnott closed this as completed Nov 2, 2018
AArnott pushed a commit that referenced this issue Apr 1, 2024
Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.5 to 17.9.6.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants