I have a project I need to build in ADO that contains code in two different repos. Usually there is a matching release branch in both, but occasionally not. I would like to get the matching value and automatically fallback to main if there's no matching.
I was told instead to make the other repo a nuget package, or just compile to a dll, but those both seem like poor solutions when VS2022 now supports multi-repo solutions pretty cleanly.