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

Pack no longer generates dependencies based on referenced projects in a solution #1429

Description

@kolektiv

Paket pack given a template would generate dependencies for the other referenced projects in the solution which also had template files (and thus would also be packages). Given a project One and a project Two in a solution, if both had a paket.template, and Two referenced One, when generating the package, Paket would include One as a dependency of Two in the generated package.

This stopped working in the 2.46.2 -> 2.47.0 range (see 3239957...3334d3d for a relevant comparison). It seems like the work to bring in referenced projects dependencies (which I'm not sure I understand the point of) may have wiped out this functionality. It is possible that this functionality would still work if include-referenced-projects was passed to Paket, but this configuration option does not yet appear in the Paket helper in Fake, so it's difficult to test this possibility.

Either way, I would consider it a regression, either removing the functionality without intent, or moving it behind a switch which previously did not exist and thus was a default true. I published a horribly broken set of packages today which had half of their dependencies missing before noticing this - hopefully I'll be the only one 😄 - thankfully they were prerelease!

If any more info is needed to repro, don't hesitate to ask...

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions