With the Visual Studio environment you have the freedom of just clicking on the button BUILD/Buidl Solution. Thats it. Easy, isn't it.
The compiler to use is the MSPGCC. There are some programming tips for the compiler here. The MSPGCC on-line documentation can be found here.