Paket (5.155.0) did not import targets for native projects
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
The boost library changed the package directory. In the old version, the structure is as following:
- build
- native
- boost.targets
- native
But in version 1.67.0.0, the structure is as following:
- build
- boost.targets
Paket did not import boost.targets for native projects.
Repro steps
See attached projects for testing.
TestPaket.zip
Expected behavior
Paket should add the following line:
<Import Project="..\..\packages\boost\build\native\boost.targets" Condition="Exists('..\..\packages\boost\build\native\boost.targets')" Label="Paket" />
Actual behavior
Nothing was adding to the project file.
Known workarounds
Probably change the package structure? But we don't have control on the packages.
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 native-project target import behavior with the attached TestPaket.zip and trace Paket's handling of package target files. Done when the boost.targets import is added for the reported package layout and the resulting project file matches the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100