Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add macOS Arm64 support to the CLI tool

Đang mở
#708 4 bình luận 5 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
cli

Hướng nghiên cứu

Inspect src/libman/libman.csproj at the PackAsToolShimRuntimeIdentifiers tag and compare the requested osx-arm64 RID with the linked .NET RID catalog. Update the project configuration so the CLI supports macOS Arm64, then verify that the packaged tool can run with an Arm64 .NET runtime.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is your feature request related to a problem? Please describe.

I am trying to run the libman CLI tool on my Mac mini M2 Pro after installing the recommended Arm64 versions of the .NET SDK, but it fails and says that it can't find a .NET Runtime.

Describe the solution you'd like

Correct me if I'm wrong, but I think the problem could be solved if osx-arm64 was added to the PackAsToolShimRuntimeIdentifiers tag in https://github.com/aspnet/LibraryManager/blob/b0570cd92d4c7e8c4650a3ebbb76838eec069469/src/libman/libman.csproj#L8

I saw a lot of macOS RIDs here and none of them were specifically "osx-arm64", but they do have "osx.13-arm64", so you'd think they'd have a non-version-specific one.

Describe alternatives you've considered

I solved the issue momentarily by installing the x64 version of the Runtime, but I read that running that version uses an Intel emulator and I'm wondering if there's overhead there.

Ngôn ngữ chính
C#
Star
486
Fork
91
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aspnet/LibraryManager

Tất cả issue của aspnet/LibraryManager

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.