dotnet-affected
dotnet-affected copied to clipboard
Flag to include not only the dependents, but also the dependencies
Our team uses dotnet-affected
( :heart: ) 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 https://github.com/dotnet/sdk/issues/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.