We used official tutorial for upgradation, after following, we got no build errors, after running some functionalities are not working. We saw that some razor syntax were showing red as syntax error/some closing tag missing. what may be the reason
edit:
The errors as below image
http://p.lui.li/img-40102_1_p-r-full.png
and another sample
http://p.lui.li/img-40102_2_p-r-full.png
there are still errors like div tag is not closed. All these codes were working fine in mvc3
I have same problem yesterday when I convert my old 3.0 project to MVC 4. in 2013 ViewBag and something also not found in current context even it's work fine in browser.
Make a new app with same namespace and copy paste the stuff carefully. After doing this your project will work like a charm.