MSBuild is a building tool that helps automate the process of creating a software product, including compiling the source code. With MSBuild, it is possible to build Visual Studio projects and solutions without the Visual Studio IDE installed. MSBuild is currently available at no cost.
I used this version: Microsoft Build Tools 2013
Here is the documentation of the command line:
MSBuild Command Line Reference
In my case I created a msbuild project file and I invoke it as follows by the commando line:
MSBuild.exe Proyecto.msbuild /t:Limpiar;Compilar;Test;Comprimir /p:Configuration=Release /p:Platform=x64 /p:DebugSymbols=false /p:DebugType=None