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

[paket pack] Inconsistent pinned version of referenced projects with include-referenced-projects enabled #3076

Description

@ruhullahshah

Description

In the attachment(Demo.zip), I have 3 projects:

  • Consumer project has 2 dependencies mentioned below.
  • TemplatedDependency project which has its own paket.template
  • StandAloneDependency project which doesn't have a paket.template

On running paket pack with --lock-dependencies, (Refer to create_packages.bat in the attachment), we have the following behavior:

  • Without include-referenced-projects true in paket.template (Consumer), we get <dependency id="TemplatedDependency" version="[42.10.0-build99999]" />
  • With include-referenced-projects true in paket.template (Consumer), we get <dependency id="TemplatedDependency" version="42.10.0-build99999" />

Expected behavior

We expect the TemplatedDependency to be pinned in both the cases.

Paket Version: Latest

Demo.zip

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