It looks like you should be able to so something like this:
xbuild /p:Configuration=Release MySolution.sln
Check out the MSBuild reference for additional options - I'm not sure if xbuild is 100% in line with what MSBuild supports, but it might be helpful to you.