Clean up preprocessor directives
@wallymathieu is already working on this.
Since Dec 17, 2023.
Assessment
This issue has not been assessed yet.
Description
We currently have NET7_0 directives in the code base, these should be NET7 or greater rather than a specific version.
#if NET7_0
We have had trouble since NET?_OR_GREATER is not defined. Note the workaround in checking if not net45 et.c..
This is not a bug yet, since we have not yet released a version of F#+ compiled against a version greater than net6 (due to breaking changes in the F# compilation of assemblies).
See for instance:
#if !NET45 && !NETSTANDARD2_0 && !FABLE_COMPILER
- Dominant language
- F#
- Stars
- 941
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fsprojects/FSharpPlus
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
fsprojects/FSharpPlus#683 · 1 comment · 2 reactions ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
fsprojects/FSharpPlus#678 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
fsprojects/FSharpPlus#644 ·
-
breaking change F#+ v2.0
Difficulty 4/5 3-5 days Newbie friendliness 30/100
fsprojects/FSharpPlus#643 ·
-
lens type signature Openbreaking change F#+ v2.0
Difficulty 3/5 1-2 days Newbie friendliness 35/100
fsprojects/FSharpPlus#641 ·