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

Consider targeting a lower .NET Standard version #6

Open
bdbai opened this issue Mar 9, 2020 · 2 comments
Open

Consider targeting a lower .NET Standard version #6

bdbai opened this issue Mar 9, 2020 · 2 comments

Comments

@bdbai
Copy link

bdbai commented Mar 9, 2020

Is your feature request related to a problem? Please describe.
YtFlow is a UWP VPN app that includes an own-created Shadowsocks implementation. In the future, it may be adapted to use this project as a dependency.
In order to make YtFlow runnable on Windows Mobile family, the minimum Windows SDK version is set to 10.0.15063. Therefore, the maximum compatible .NET Standard version is 1.4 according to .NET implementation support. However, this project targets .NET Standard 2.1 which is impossible for YtFlow to consume directly.

Describe the solution you'd like
Consider including both .NET Standard 2.1 and a version at most 1.4 as the target frameworks of this project. For the API invocations that rely on .NET Standard 2.1 only, use conditional code as described in Target frameworks in SDK-style projects.

Describe alternatives you've considered
Would be better if Infrastructure becomes an independent project without any platform-dependent features (even Socket or SslStream) and leave only Stream-related APIs.

Additional context
See YtFlow/YtFlowTunnel

@ghost
Copy link

ghost commented Mar 9, 2020

Windows Mobile

I think it's time to drop it...

@ohsorry
Copy link
Collaborator

ohsorry commented Mar 9, 2020

.net standard is growing really fast, many APIs are waiting to be added.
Several APIs in this project require 2.1. I'm afraid it cannot be downgraded.

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

No branches or pull requests

2 participants