For building re-motion, you need Visual Studio 2008.
re-motion depends on third-party libraries, but they
are part of the distribution:

For detailed instruction and discussion on how to build
re-motion, read this team-blog entry, aptly named
"How to build re-motion":
http://www.re-motion.org/blogs/mix/archive/2009/04/30/how-to-build-re-motion.aspx