scripts folder items all duplicated after convert-from-nuget
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
I did a convert from nuget. My javascript packages were all duplicated. Unfortunately this is an old project and I have about 20 of these JS packages.
Repro steps
Please provide the steps required to reproduce the problem
- Create an Web .cspoj.
- Using nuget add bootstrap-dialog. a bootstrap-dialog.js will be placed in Scripts folder.
- Convert from nuget to paket.
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Expected behavior
There would be a single Scripts/bootstrap-dialog.js file on the disk, and a single reference to it in VS.
Actual behavior
There is a single file on disk, but the VS csproj has two references to it. I confrmed by looking within the csproj file.
Known workarounds
Manually edit the XML to remove the 2nd references. Unfortunately, deleting through VS deletes the file, so I can't do that.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the convert-from-nuget flow for a Web .cspoj project containing Scripts/bootstrap-dialog.js. Inspect how the conversion updates the VS csproj references, using the reported XML duplication as the reproduction case. Done means the file remains on disk and the csproj contains only one reference to it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100