FSI fails to load generated load script file
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
FSI fails to load generated load script file
Repro steps
Run the following commands with forge on W10 and paket 5.177.1
-
forge paket init -
forge paket add FSharp.Control.FusionTasks -
forge paket generate-load-scripts -
run the following fsx file
#load @".paket\load\netcoreapp2.1\main.group.fsx"
Expected behavior
Should be able to load main package script
Actual behavior
Get the following output when trying to load the script
main.group.fsx(27,1): error FS0074: The type referenced through 'System.Threading.Tasks.ValueTask' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Threading.Tasks.Extensions'.
Known workarounds
none
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 failure with the listed forge and Paket commands on Windows, then inspect the generated .paket\load\netcoreapp2.1\main.group.fsx and run it through FSI. Done means the generated main package script loads without the missing System.Threading.Tasks.Extensions error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100