Change to Paket.Restore.targets breaks restore for Paket 5.174.0
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
Performing a build with Paket 5.174.0 of .NET Standard 2.0 projects resulted in an updated Paket.Restore.targets file. This update includes the section below from PR https://github.com/fsprojects/Paket/pull/3273.
trueThis stops the package restore on build when using Paket 5.174.0 and breaks all future builds for .NET Standard / Core projects which require a package restore to get their references.
Repro steps
Please provide the steps required to reproduce the problem
-
Create a new .NET Standard project with Paket 5.174.0
-
Add packages using Paket 5.174.0
-
Build
-
Check NuGet references
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Expected behavior
The NuGet references should be visible in VS and usable in code.
Actual behavior
Build breaks with missing references and NuGet packages are not visible.
Known workarounds
Downgrade to Paket 5.173.4.
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 comparing the Paket.Restore.targets section introduced by PR 3273 with the behavior of Paket 5.174.0 and 5.173.4. Reproduce the problem in a .NET Standard 2.0 project, build it, and verify whether NuGet references appear in Visual Studio and are usable in code; done means restore no longer breaks on build.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100