Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#426 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
486
Fork
91
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aspnet/LibraryManager

Tutte le issue di aspnet/LibraryManager

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.