Sitelet https://github.com/fsprojects/Paket/issues/1768
Skip to content

[V3] Why paket.dependencies should be in repo root? #1768

Description

@alexeyzimarev

We have the following repo structure:

\
├── src
│   ├── .paket
│   │   ├── paket.bootstrapper.exe
│   │   ├── paket.targets
│   │   ├── paket.exe
│   ├── paket.dependecies
│   ├── paket.lock
├── readme.md
├── build.fsx
├── other files

This worked well in V2. Now with V3 we get build errors that paket.dependencies file is not found and I need to ensure it is in the repo root. Indeed, when I move it there along with paket.lock, the error disappears. But this essentially means I have .paket under the src, however my dependencies and lock files are moved to the repo root despite there is no guarantee there is only one solution in this repo and they will get in conflict.

What was the reason behind the decision to have the dependencies and lock files in the repo root instead of a solution root?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions