Skip to content

Can't update LibGit2Sharp.NativeBinaries in VS 2019 v16.11.15 #1970

Closed
@astrohart

Description

@astrohart

This is related to Issue #1343.

Can't update LibGit2Sharp.NativeBinaries. Are the NuGet packages broken?

Unable to resolve dependencies. 'LibGit2Sharp.NativeBinaries 2.0.315' is not compatible with 'LibGit2Sharp 0.26.2 constraint: LibGit2Sharp.NativeBinaries (= 2.0.306)'.

Per the issue referenced above, I selected "Include Prereleases" as was advised further down the thread of the existing issue.

As can be seen from the screenshot, I tried the update again and I still received an error (see circles):

image

The error message text is:

Unable to resolve dependencies. 'LibGit2Sharp.NativeBinaries 2.0.315' is not compatible with 'LibGit2Sharp 0.26.2 constraint: LibGit2Sharp.NativeBinaries (= 2.0.306)'.

The contents of my packages.config is:

<?xml version="1.0" encoding="utf-8"?>
<packages>
    <package id="AlphaFS" version="2.2.6" targetFramework="net48" />
    <package id="CredentialManagement" version="1.0.2" targetFramework="net48" />
    <package id="LibGit2Sharp" version="0.26.2" targetFramework="net48" />
    <package id="LibGit2Sharp.NativeBinaries" version="2.0.306" targetFramework="net48" />
    <package id="Microsoft.Alm.Authentication" version="4.3.0" targetFramework="net48" />
    <package id="Microsoft.CSharp" version="4.5.0" targetFramework="net48" />
    <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="3.13.8" targetFramework="net48" />
    <package id="Newtonsoft.Json" version="13.0.1" targetFramework="net48" />
    <package id="NUnit" version="3.13.3" targetFramework="net48" />
    <package id="Octokit" version="0.50.0" targetFramework="net48" />
    <package id="Salaros.ConfigParser" version="0.3.8" targetFramework="net48" />
    <package id="Vsxmd" version="1.4.5" targetFramework="net48" developmentDependency="true" />
</packages>

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