dotnet build uses old Paket version
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
When I call dotnet build --project [PROJECT_NAME] it uses old Paket version, which causes parsing errors in the dependencies file.
Repro steps
Environment details:
- Win10 x64,
- dotnet --version : 2.1.402
- Create a project with
dotnet new giraffe -lang F# -U - Update the contents of
.paketfolder manually. Update paket.bootstrapper.exe and targets file - Call
dotnet restoreanddotnet buildcauses to call paket5.130.8
Expected behavior
Use paket.exe from .paket folder.
Actual behavior
Seems like falling back (?!) to another or a cached version.
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
Start by reproducing the reported sequence with dotnet new giraffe -lang F# -U, then inspect the .paket folder, including paket.bootstrapper.exe and the targets file. Compare the Paket version selected during dotnet restore and dotnet build with the paket.exe in .paket; done means the build uses that local version and no longer falls back to 5.130.8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100