Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#426 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
tooling

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
C#
Stars
486
Forks
91
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/LibraryManager

All issues in aspnet/LibraryManager

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.