I've read how to use Spark View Engine instead of Webform View Engine in a Mvc2 Project so I think we can do the same with Razor View Engine but when I search on GOOGLE, I cant find anything helpful. So, to you pros I post this question. Please help! Thanks so much!
Attention: Razor in Mvc2 project, not in Mvc3.
Thanks again!
While this is technically possible, you'll need to copy vast swaths of code from the MVC3 source.
Razor will still need .Net 4.0, so this is really not worth it; you should just upgrade to MVC3.
来源:https://stackoverflow.com/questions/5274066/create-a-mvc2-project-with-razor-view-engine