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

Change TFM to netcoreapp3.1 #1918

Merged
merged 6 commits into from Nov 9, 2021
Merged

Change TFM to netcoreapp3.1 #1918

merged 6 commits into from Nov 9, 2021

Conversation

bording
Copy link
Member

@bording bording commented Oct 16, 2021

Moving to a netcoreapp3.1 TFM made it possible to use the NativeLibrary API directly instead of through reflection.

As part of this change it was also clear that the NativeLibraryPath property should be consistent, so it will no longer append the architecture to the path when running on .NET Framework.

This PR also includes a change to use RuntimeInformation.ProcessArchitecture instead of assuming x86 and x64 are the only two options. This will be increasingly untrue with all of the ARM support being added recently.

@bording bording marked this pull request as ready for review November 9, 2021 03:01
@bording bording merged commit ab87189 into master Nov 9, 2021
@bording bording deleted the tfm-change branch November 9, 2021 03:32
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

Successfully merging this pull request may close these issues.

None yet

1 participant