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

there will be a .Net standard compatibile version? #1453

Closed
manuelelucchi opened this issue May 20, 2017 · 12 comments
Closed

there will be a .Net standard compatibile version? #1453

manuelelucchi opened this issue May 20, 2017 · 12 comments

Comments

@manuelelucchi
Copy link

Now that .net standard 2.0 is very close with 20k new apis coming, there will be a Version of libgit2sharp that support it? If yes, when?

@bording
Copy link
Member

bording commented May 20, 2017

@manuelelucchi It will be coming soon: #1318

@manuelelucchi
Copy link
Author

thanks for the answer! searching on the code i've seen a reference to the libgit2 c version. how could you port to .net standard if you have a c dependency?

@bording
Copy link
Member

bording commented May 24, 2017

LibGit2Sharp is a managed wrapper around the native libgit2 library, so it's always had a native dependency. We include versions libgit2 compiled for different platforms via the LibGit2Sharp.NativeBinaries package, which has allowed LibGit2Sharp to be used on linux and macOS via mono.

With the changes I've got here and here, we should be able to ship a version of libgit2 for every platform that .NET Core runs on.

@manuelelucchi
Copy link
Author

thanks for the clarification! i hope i could use it for my UWP git application!

@bording
Copy link
Member

bording commented May 24, 2017

UWP has a lot of restrictions around using native libraries, so I'm not sure if that's going to be able to work or not.

@manuelelucchi
Copy link
Author

let's hope, at the worst i can also call non-UWP APIs

@ethomson
Copy link
Member

#1318 has landed! 😁

@manuelelucchi
Copy link
Author

manuelelucchi commented Jun 24, 2017 via email

@ethomson
Copy link
Member

I don't know if it will work in UWP or not, it still keeps the native component (libgit2).

I'll publish a prerelease package to nuget soon. Looks like the nuget versioning needs some adjustment.

@manuelelucchi
Copy link
Author

manuelelucchi commented Jun 24, 2017 via email

@MikhailTymchukDX
Copy link

If I use libgit2sharp on Linux inside a .NET Core project, will it work?

@ethomson
Copy link
Member

Hi @MikhailTymchukDX - it will however there are issues with CentOS, which gives its SSL library a nonstandard name. Debian and Ubuntu should be 👍 though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants