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

Restore client side libraries does not add the folder to the project

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
tooling

Hướng nghiên cứu

Reproduce the restore operation using the supplied libman.json, especially the bin/ destination outside wwwroot; also check the equivalent add-client-side-libraries UI path. Trace how newly restored folders and files are added to the project, and compare behavior for destinations inside and outside wwwroot. Done means the restored folder and files appear in the project in both flows.

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

Mô tả

P2
Minimal repro steps
  1. Copy paste the below contents in libman.json file and save:
    {
    "version": "1.0",
    "defaultProvider": "cdnjs",
    "libraries": [
    {
    "provider": "cdnjs",
    "library": "1140@2.0",
    "destination": "bin/"
    }
    ]
    }

  2. This invokes restore operation, but the folder-bin is not included in the project

Expected result

Newly added folder/files should be included in the project

Actual result

Newly added folder/files should are not included in the project

Note: I see the same behavior when add client side libraries is invoked from UI. Looks like if folder is outside wwwroot, files don't get included in the project

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.