Open
Description
When this throws, the error is fairly inscrutable:
It just says
error MSB4006: There is a circular dependency in the target dependency graph involving target "PrepareProjectReferences".
That's not very easy to find and fix.
We could keep a list of parents so that we could say something like
There is a circular dependency in the target dependency graph involving target {targetSpecification.TargetName}. Target {parentTargetEntry} has a {buildReason} dependency on it, but it is depended upon by {string.Join("<-", listOfParents)}.
Maybe only at higher verbosities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment