From 376ec036defaa82bb0b887fb1626e009336d4bda Mon Sep 17 00:00:00 2001 From: Marius Thesing Date: Thu, 4 Jan 2024 21:34:06 +0100 Subject: [PATCH] Require Microsoft.Bcl.AsyncInterfaces >=1.0.0 instead of =8.0.0 This technically fixes 2 different issues: - previously SSH.NET would require exactly(!) version 8.0.0, which would cause issues in the future if e.g. a project using SSH.NET would try to update to version 9.0.0. In this case the constraint on the exact version would cause NuGet to refuse to upgrade to 9.0.0 (#1287) - PowerShell Core seems to have problems with Version 8.0.0, therefore downgrade the requirement to 1.0.0 (see https://github.com/darkoperator/Posh-SSH/issues/558) I had to re-enable AutoGenerateBindingRedirects, otherwise there is a FileLoadException with net462 in one of the tests. I don't know why this was disabled in 3ecbd1071d653bbf04254c08d14d7ce75d60688b . --- Directory.Build.props | 1 - build/nuget/SSH.NET.nuspec | 4 ++-- src/Renci.SshNet/Renci.SshNet.csproj | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 639770b43..65a489ddc 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,7 +11,6 @@ latest 9999 true - false