Skip to content

Flag to include not only the dependents, but also the dependencies #99

@BenjaBobs

Description

@BenjaBobs

Our team uses dotnet-affected ( ❤️ ) to only built/test/deploy the affected projects in our monorepo.

However due to various small issues between the dotnet tools (build/test/publish) and traversal files, we output the affected projects as .txt, and use that to create a new affected.sln.
It turns out that not all properties (e.g. configuration) are passed properly to all built projects when building a solution file whose projects have dependencies that are not also in the solution file, see dotnet/sdk#25973.

For that reason we also manually construct an affected_with_dependencies.sln using dotnet list reference.

If dotnet-affected could do this with a flag it would greatly simplify (and probably speed up) our CI pipeline.

Thanks for your time and hard work so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions