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 4.7.1 #649

Closed
jamesford42 opened this issue Sep 16, 2023 · 2 comments
Closed

.net 4.7.1 #649

jamesford42 opened this issue Sep 16, 2023 · 2 comments

Comments

@jamesford42
Copy link

I have an older .net 4.7.1 unity game (and that can't be changed) that i would like to use clipper2 or clipper-anything with but i tried building the code and id need to remove about 999 uses of nullable ref return values and readonly return values and etc.

Maybe i don't know how to properly find forks, it use to be easier on github, but anyway i haven't found any that would be compatible -- anyone aware of one? I found a slew of nuget packages a couple of which didn't list any dependencies on specific version of .net but turns out they fail at runtime so they are dependent on something, and its not what i have.

Any advice, any path forward?

@lutz
Copy link
Contributor

lutz commented Sep 19, 2023

@jamesford42 I`ve create a PR to use .net standard 2.0 instead of 2.1. If it will accept you should use the new version because .net standard 2.0 is supported by .net framework 4.7.1.

If it will decline, you can create a fork of Clipper 2 and change the target for the lib to .net Standard 2.0 and add the nuget package reference to Microsoft.Bcl.HashCode.

After this you be able to build a .net standard 2.0 version to use it in your project.

@AngusJohnson
Copy link
Owner

I've just merged Daniel's PR so Clipper2 should now compile to .net standard 2.0.

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

3 participants