Using the Visual Studio Developer command prompt, navigate to the project folder and type msbuild <projectname>.sqlproj
.
The default msbuild action is to build the project (it's possible to pass "/t:Build" in to explicitly call build).
From a non-developer command prompt you'd just need to add MSBuild to the path.