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

.NET Standard 2.0 compatibility for ParallelExtensionsExtras #3593

Open
Jaegermeiste opened this issue May 13, 2020 · 1 comment
Open

.NET Standard 2.0 compatibility for ParallelExtensionsExtras #3593

Jaegermeiste opened this issue May 13, 2020 · 1 comment

Comments

@Jaegermeiste
Copy link

Jaegermeiste commented May 13, 2020

I propose downgrading ParallelExtensionsExtras to C# 7.3/.NET Standard 2.0 for the following reason:

UWP is in the dark ages and currently is restricted to no newer than .NET Std 2.0. There is hope that it will get a bump to a newer version in the future dotnet/standard#1567, but as things stand right now .NET Std 2.0 is the way to go with no ETA for improvements.

This is particularly important for store apps and Xbox Creators Program apps (not Native).

A quick build test indicates that there are only 3 places in the code that use the new language features - two using declarations and a pattern match, which are relatively easily downgraded as per this experiment: Jaegermeiste@947bf63

Forgive any errors I may have made in unrolling the new syntax to the older - in any case I think the fundamental point of this Issue remains valid.

Is there any interest in this? Any particular reason to enforce 2.1 vs 2.0 that makes this a truly Bad Idea?

@Jaegermeiste
Copy link
Author

This should also ensure compatibility with legacy Framework applications https://docs.microsoft.com/en-us/dotnet/standard/net-standard and Unity https://forum.unity.com/threads/net-standard-2-1.757007/

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

1 participant