For web stuff you should use Web Deployment Projects. It is a free add on from Microsoft that will run the aspnet_compiler and aspnet_merge tool on your web site or web project (MVC in your case). You can customize the build there to help you prepare for deployment.
About getting started with MSBuild resources
- Inside the Microsoft Build Engine: Using MSBuild and Team Foundation Build (Book)
- Inside MSBuild
- 7 Steps To MSBuild
- MSDN MSBuild Docs