Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Change TFM to netcoreapp3.1 - #1918

#1918
Merged
bording merged 6 commits into
masterlibgit2/libgit2sharp:masterfrom
tfm-changelibgit2/libgit2sharp:tfm-changeCopy head branch name to clipboard
Nov 9, 2021
Merged

Change TFM to netcoreapp3.1#1918
bording merged 6 commits into
masterlibgit2/libgit2sharp:masterfrom
tfm-changelibgit2/libgit2sharp:tfm-changeCopy head branch name to clipboard

Conversation

@bording

@bording bording commented Oct 16, 2021

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.