It is best to install the MVC4 installation from the platform installer. Then follow the steps on the official asp.net/mvc/mvc4 page. If you follow the Shyju instructions (only), this will not work.
When you are done with the official instructions, look in your Views directory and you can find another web.config with another link to the MVC assembly and several others for the razor. You also want to change the versions of these lines. Basically replace every 3.0.0.0 you find for 4.0.0.0 and 1.0.0.0 for 2.0.0.0
IF YOU DO NOT MAKE THIS LAST CHANGE, YOU MAY END AN ERROR BY THE NEXT QUESTION
Look at the included DLL and make sure that they are designed for the correct versions.
Sergio Mar 21 '13 at 17:26 2013-03-21 17:26
source share