Is there an available way to identify if there is any project in a solution or reference in a project which is from another TFS source branch?
The goal is to prevent this by alerting users before a check-in or while adding that project/reference.
Thanks.
This is probably not the most efficient way, but a band-aid we used…
We setup a gated checkin build that only checks out the specific source directory for that branch. Any references above or outside the branch root throws an error.
Hope this helps.