generate-load-script required #r are not generated
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
#r directives are not added for some packages
Repro steps
paket.dependencies
source https://www.nuget.org/api/v2
framework: >= net461
nuget Microsoft.Extensions.Logging
.paket\paket.exe init
.paket\paket.exe install
cd .paket\load
..\paket.exe generate-load-scripts
Expected behavior
Microsoft.Extensions.Logging.fsx
Should contains reference to Microsoft.Extensions.Logging.dll
Actual behavior
Only #load directives for dependencies included
#load "Microsoft.Extensions.Configuration.Binder.fsx"
#load "Microsoft.Extensions.Options.fsx"
Known workarounds
Add #r directives in application script
Example
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
Reproduce the issue with the shown paket.dependencies and the generate-load-scripts command, then inspect the generated .paket/load/Microsoft.Extensions.Logging.fsx file. Compare its directives with the expected Microsoft.Extensions.Logging.dll reference; done means required #r directives are generated while dependency #load directives remain present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100