Click here to Skip to main content
15,921,295 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi frens, i am using Visual Studio 2008 which has asp.net 2.0 and sqlserver 2005 inbuilt. i came to know that VS 2010 has included a new feature of using razor and asp.net 3.0 by default. i want to include razor in my VS 2008. how to perform such task please help me with suitable option?
with regards bishnu karki
Posted

You can't - Razor (and MVC3) runs only under .NET 4, which is not supported by VS2008.
 
Share this answer
 
Comments
Monjurul Habib 11-Dec-11 9:58am    
5! :) you are faster than me..
Abhinav S 11-Dec-11 9:59am    
Good point. I missed this. 5.
I somehow thought the OP was looking for information on Razor - did not notice 2008 at all.
Monjurul Habib 11-Dec-11 10:02am    
@Abhinav: your third link provides clear System requirements..that is "ASP.NET 4; .NET 4"
Abhinav S 11-Dec-11 10:06am    
Yeah. In going through the question quickly I missed the OP had mentioned VS2008. :)
Monjurul Habib 11-Dec-11 10:07am    
np but your links says that :)
No, not just Razor but MVC 3 will not be supported in VS 2008. The reason is that MVC 3 is being compiled on .NET 4.0.
Click here for REF.
 
Share this answer
 
Comments
Abhinav S 11-Dec-11 10:01am    
Yup. 5.
Monjurul Habib 11-Dec-11 10:04am    
thank you
Wonde Tadesse 11-Dec-11 13:19pm    
5+
Monjurul Habib 11-Dec-11 20:01pm    
thank you
Have a look at Introducing “Razor” – a new view engine for ASP.NET [^].
Here is another introduction[^].

If you need more help on downloads, goto http://www.microsoft.com/download/en/details.aspx?id=15979[^].

However, Razor only works for .Net 4.0. MVC3 does not work on 2008 as well.
 
Share this answer
 
v2
Comments
Monjurul Habib 11-Dec-11 9:57am    
nice links,5!
Abhinav S 11-Dec-11 10:01am    
Thanks. I have modified my answer.
Monjurul Habib 11-Dec-11 10:09am    
v1 was good also..but its better now
Abhinav S 11-Dec-11 12:12pm    
Thanks. :)
Wonde Tadesse 11-Dec-11 13:19pm    
5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900