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

net10 Android minor API test requires mobile-librarybuilder-net10

Đang mở Phù hợp với người mới
#12,923 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, csharp

Hướng nghiên cứu

Bắt đầu với bài kiểm thử tích hợp thiết bị MSBuild DotNetInstallAndRunMinorAPILevels và trường hợp Release net10.0-android36.1 CoreCLR của nó; tái hiện lỗi restore bằng SDK cục bộ Release của repository. Được xem là hoàn tất khi trường hợp net10/CoreCLR tạm thời được bỏ qua cho đến khi chuyển đổi target framework, sau đó được bật lại cho net11.0-android37.1.

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

Mô tả

Area: App+Library Build
Android framework version

net10.0-android

Affected platform version

main with net10.0-android36.1

Description

The previous-version compatibility test DotNetInstallAndRunMinorAPILevels(True, "net10.0-android36.1", CoreCLR) fails during restore because the local test SDK does not install the mobile-librarybuilder-net10 workload:

error NETSDK1147: To build this project, the following workloads must be installed: mobile-librarybuilder-net10

This test is expected to move to net11.0-android37.1 when main advances to the .NET 12 target framework. Track the temporary skip here so it can be removed when that transition occurs.

Steps to Reproduce
  1. Prepare the repository's Release local SDK.
  2. Run the DotNetInstallAndRunMinorAPILevels MSBuild device integration test for Release, net10.0-android36.1, and CoreCLR.
  3. Observe restore fail in _CheckForMissingWorkload before the application builds.
Did you find any workaround?

Temporarily skip the net10/CoreCLR compatibility case. Re-enable the test after it changes to net11.0-android37.1 as part of the .NET 12 target-framework transition.

Relevant log output
(_CheckForMissingWorkload target) ->
  Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: mobile-librarybuilder-net10
  Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore
Ngôn ngữ chính
C#
Star
2.1k
Fork
580
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
239

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 dotnet/android

Tất cả issue của dotnet/android

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.