fsprojects / fsprojects/Paket

Paket Simplify Removing FSharp.Core from paket.references

Open
#4,235 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

I was working on a PR over in FsAutoComplete and was suggested to open an issue for discussion over in this repo see here per @smoothdeveloper

Repro steps
  1. I ran dotnet tool restore

  2. I then ran dotnet paket simplify

Additional Context:

Running dotnet sdk check this is what is on my local
image

dotnet-tools.json at the time of running these commands

image

Expected behavior

It sounds like the expected behavior (up for discussion) is to keep the FSharp.Core reference in the paket.reference files

Actual behavior

Paket removes FSharp.Core from the paket.reference since it is a transient dependency

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the behavior with dotnet tool restore followed by dotnet paket simplify, using the issue's paket.references and dotnet-tools.json context. Trace why FSharp.Core is treated as transient, then verify that simplification preserves the reference if that is confirmed as the expected behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.