Skip to content

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.

1 participant