From a brand new console application template in visual studio, I edited the .csproj to build another project like this:
.csproj
...
Visual Studio caches all MSBuild files, this is done for performance reasons. You will not be able to have an MSBuild only way around this. It may be possible to achieve this via a VS add-in but I'm not 100% sure of that.