I also have this problem, I would like to set the branch to be built in order to have one assembly that I can associate with one version (in vso), since the Vso release system does not have global environment definitions,
In any case, it was possible, but they removed this opportunity without replacing it with something else that seemed to be annoying.
I worked on this, adding mappings to both my dev and the main branch to different local folders, and then using a variable to distinguish them in the actual build steps. Until you need to display a ton of branches, this works, although it's a bit cumbersome.
source share