Skip to content

Drop netstandard2.1 target #1647

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

Merged
merged 1 commit into from
May 29, 2025
Merged

Conversation

mus65
Copy link
Contributor

@mus65 mus65 commented May 25, 2025

This is imho not worth targeting. The only non-EOL frameworks that actually benefit from this are Mono 6.4 and Unity 2021.2 (see https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1).

Even if people use SSH.NET with any of these, they will still work fine with the netstandard2.0 target and only miss very minor optimizations.

Simplified #if NETFRAMEWORK || NETSTANDARD2_0 to #if !NET in the process.

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.

Seems ok to me

@Rob-Hague Rob-Hague merged commit 03e2821 into sshnet:develop May 29, 2025
4 checks passed
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