Skip to content

fix build with .NET 9.0 SDK#1427

Merged
Rob-Hague merged 3 commits into
sshnet:developfrom
mus65:net9build
Jun 16, 2024
Merged

fix build with .NET 9.0 SDK#1427
Rob-Hague merged 3 commits into
sshnet:developfrom
mus65:net9build

Conversation

@mus65

@mus65 mus65 commented Jun 15, 2024

Copy link
Copy Markdown
Contributor

SSH.NET is currently not buildable with .NET 9 because of newly introduced warnings CA1872 and CA2022, see separate commits.

mus65 added 2 commits June 15, 2024 15:12
see dotnet/roslyn-analyzers#7208

Most of these could be safely ignored because of the following assert.
As far as I can see, The SftpFileStream.Read() implementation guarentees
that the specified number of bytes is read anyway.

@Rob-Hague Rob-Hague left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks

One day we'll stop every diagnostic being an error ...

@Rob-Hague Rob-Hague merged commit 1b71e8f into sshnet:develop Jun 16, 2024
@mus65 mus65 deleted the net9build 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.

2 participants