Warn on missing groups
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
paket restore warns when a package referenced in paket.references does not exist in paket.lock, however it does not warn when a group referenced in paket.references does not exist in paket.lock.
Repro steps
Please provide the steps required to reproduce the problem
- Set up a C# .NET Core project with one or more named groups
- Make a typo in the group name in
paket.references.
Expected behavior
An error from Paket.
Actual behavior
The C# compiler fails with errors on using and type names when those types are expected to be in the referenced package.
Known workarounds
N/A, or fix the typo.
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 paket restore using a C# .NET Core project, a named group, and a misspelled group in paket.references. Compare the referenced groups with paket.lock and verify that restore reports an error for the missing group instead of allowing later compiler errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100