Visual Studio can't do it at all, I'm afraid. That's why I'm not using it.
I'm fairly familiar with it, and how it's integrated with MSBuild, and what the limitations of MSBuild are, and whether I'm comfortable working within those limitations (and porting my code to Windows).
That's because you're supposed to use Visual Studio for everything VS can do at all.