Paket Restore Targets doesn't work with .NET 6+
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.targets doesn't work for .NET 6/7 projects.
Repro steps
Please provide the steps required to reproduce the problem
- Create new project (Class Library or Console App)
- Install Paket using dotnet tool
- Initiazlie Paket using: Paket init
- Install Newtonsoft.json (or any other project) into some project
Expected behavior
Package Newtonsoft.json is added and can be used
Actual behavior
Package is not added
Known workarounds
There is no workaround. Issue is not reproduced if creating .NET Standard Class library instead of .NET 6
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 a .NET 6 or .NET 7 Class Library or Console App using the dotnet-installed Paket tool, then run Paket init and add Newtonsoft.Json. Start by examining Paket.Restore.targets and the restore integration for these project types. Done means the package is added and available to the project, as it is for a .NET Standard class library.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100