8000 Change TFM to netcoreapp3.1 by bording · Pull Request #1918 · libgit2/libgit2sharp · GitHub
[go: up one dir, main page]

Skip to content

Change TFM to netcoreapp3.1 #1918

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

Merged
merged 6 commits into from
Nov 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use RuntimeInformation.ProcessArchitecture
  • Loading branch information
bording committed Nov 9, 2021
commit 2bde4cbf1f2d40bd5dcf674d1ed22fcd60a82c55
2 changes: 1 addition & 1 deletion LibGit2Sharp/Core/Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal enum OperatingSystemType

internal static class Platform
{
public static string ProcessorArchitecture => IntPtr.Size == 8 ? "x64" : "x86";
public static string ProcessorArchitecture => RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant();

public static OperatingSystemType OperatingSystem
{
Expand Down
0