Skip to content

How to use libgit2sharp in a .NET 4.5 app? #1663

Closed
@battlmonstr

Description

@battlmonstr

From what I understood starting from version v0.25.0+ libgit2sharp doesn't support .NET 4.5,
and a developer needs .NET 4.6 + VS 2017 for it to work from NuGet.

It was mentioned in these issues:
#1557
#1598

What are the reasons that you decided to not include the classic .NET library version in the NuGet package?

I'm sure there are good reasons, so the next question, how much work it is to make a release build from source that would support .NET 4.5?
Do you have release build instructions somewhere to prepare such a build?

Reasoning:
I have a desktop Git client - http://nitrogit.net/ - and for that I consider 4.6 as "too new". According to the stats here 44% of the users are still stuck on Windows 7-8.x. It means that if I support .NET 4.5 those people will not have to install anything extra along with this tiny app. But if I upgrade to .NET 4.6 to use your latest NuGet version, they might have to download and install the framework in addition, and that's not ideal.

P.S. If you have based your decision on some statistics that would be interesting to look at.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions