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

Require Microsoft.Bcl.AsyncInterfaces >=1.0.0 instead of =8.0.0 #1288

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

mus65
Copy link
Contributor

@mus65 mus65 commented Jan 4, 2024

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 darkoperator/Posh-SSH#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 3ecbd10 .

@mus65 mus65 changed the title remove version restriction on Microsoft.Bcl.AsyncInterfaces Require Microsoft.Bcl.AsyncInterfaces >=1.0.0 instead of =8.0.0 Jan 5, 2024
@WojciechNagorski
Copy link
Collaborator

@Rob-Hague can you make a review?

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 (sshnet#1287)
- PowerShell Core seems to have problems with Version 8.0.0, therefore
  downgrade the requirement to 1.0.0 (see darkoperator/Posh-SSH#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 3ecbd10 .
Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@WojciechNagorski WojciechNagorski merged commit 765da93 into sshnet:develop Jan 5, 2024
1 check passed
@WojciechNagorski WojciechNagorski added this to the 2024.0.0 milestone Feb 22, 2024
@WojciechNagorski
Copy link
Collaborator

This issue has been fixed in the 2024.0.0 version.

@mus65 mus65 deleted the fixbclversion branch September 14, 2024 09:30
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.

3 participants