Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
net4.6.2 was added because it is standard practice due to problems with netstandard2.0 in the .Net Framework, where it only fully works for the .Net Framework 4.7.2+. Explicitly specifying net462 for the library allows this to be used for .Net Framewok 4.6.2 without these problems
![image](https://private-user-images.githubusercontent.com/3002068/337862923-e0d91e3a-0a71-4c3c-b748-021588b21b7f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0Nzk2NDAsIm5iZiI6MTcyMjQ3OTM0MCwicGF0aCI6Ii8zMDAyMDY4LzMzNzg2MjkyMy1lMGQ5MWUzYS0wYTcxLTRjM2MtYjc0OC0wMjE1ODhiMjFiN2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDFUMDIyOTAwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGUzZjc3ZjFlMTgyNzAxM2E1YzEyM2M5MDAyMGJkMzcxNGQ5OTk5M2ZlN2ZlMDYzZWY2ZTBmODAzNDA0MGUwYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kOmskDPkgbTWrtyC9j8oJd3GrE6IEb_09D7kcr0SmgU)
![image](https://private-user-images.githubusercontent.com/3002068/337862988-80831480-a500-4bec-a1e6-ada8d62b2964.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0Nzk2NDAsIm5iZiI6MTcyMjQ3OTM0MCwicGF0aCI6Ii8zMDAyMDY4LzMzNzg2Mjk4OC04MDgzMTQ4MC1hNTAwLTRiZWMtYTFlNi1hZGE4ZDYyYjI5NjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDFUMDIyOTAwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDQ1NTZmN2JkOWZjOThiY2EyNDQ5MjE5NGQxNWU2ZjI1ZmFmMzk4M2ZmYjBhNzM5MWFiYzlmYjI1ZDlhMTg5NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.QWJD4d3JPJTER_tzvfD8asxmK3YKEeEt5NeDAeisQMw)
https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0#select-net-standard-version
Since 4.6.1 is no longer supported, I chose 4.6.2 as the minimum.
Similar can be seen for example for System.Memory.Data 8.0.0
Explicitly specifying net8 allows using #ifdef to use optimizations only available for net8, as well as new diagnostics, such as more complete nullable annotations for system types