8000
  • fix Package Downgrade Warning with .NET 9 SDK by mus65 · Pull Request #1538 · sshnet/SSH.NET · GitHub
    [go: up one dir, main page]

    Skip to content

    fix Package Downgrade Warning with .NET 9 SDK#1538

    Merged
    Rob-Hague merged 1 commit intosshnet:developfrom
    mus65:fixdotnet9
    Nov 13, 2024
    Merged

    fix Package Downgrade Warning with .NET 9 SDK#1538
    Rob-Hague merged 1 commit intosshnet:developfrom
    mus65:fixdotnet9

    Conversation

    @mus65
    Copy link
    Contributor
    @mus65 mus65 commented Nov 13, 2024

    Cherry-picked from #1480. Build with .NET 9 SDK currently fails with the following error:

    /home/mus/git/SSH.NET/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj : error NU1605:
    Warning As Error: Detected package downgrade: BouncyCastle.Cryptography from 2.4.0 to 2.3.1. Reference the package directly from the project to select a different version.
    Renci.SshNet.IntegrationTests -> SSH.NET 1.0.0 -> BouncyCastle.Cryptography (>= 2.4.0)
    Renci.SshNet.IntegrationTests -> Testcontainers 3.10.0 -> BouncyCastle.Cryptography (>= 2.3.1)

    for some reason this happens starting with .NET 9.0 RC2:
    
    /home/mus/git/SSH.NET/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj : error NU1605:
          Warning As Error: Detected package downgrade: BouncyCastle.Cryptography from 2.4.0 to 2.3.1. Reference the package directly from the project to select a different version.
           Renci.SshNet.IntegrationTests -> SSH.NET 1.0.0 -> BouncyCastle.Cryptography (>= 2.4.0)
           Renci.SshNet.IntegrationTests -> Testcontainers 3.10.0 -> BouncyCastle.Cryptography (>= 2.3.1)
    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

    Successfully merging this pull request may close these issues.

    2 participants

    0