Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Razor be used with visual studio 2008?

Scott Gu didn't talk about this in his blog post. Will there be intellisense support for razor on vs 2008? MS is giving everyone a hard time by releasing major upgrades so frequently :D

like image 562
Praveen Avatar asked Aug 07 '10 06:08

Praveen


People also ask

How do I add a razor page in Visual Studio code?

Open the integrated terminal. Change to the directory ( cd ) which will contain the project. The dotnet new command creates a new Razor Pages project in the RazorPagesMovie folder. The code command opens the RazorPagesMovie folder in the current instance of Visual Studio Code.

What is razor Visual Studio?

Razor is an ASP.NET programming syntax used to create dynamic web pages with the C# or VB.NET programming languages. Razor was in development in June 2010 and was released for Microsoft Visual Studio 2010 in January 2011. Razor is a simple-syntax view engine and was released as part of MVC 3 and the WebMatrix tool set.

Does MVC use razor?

Razor is one of the view engines supported in ASP.NET MVC. Razor allows you to write a mix of HTML and server-side code using C# or Visual Basic.

How do I run Cshtml?

Right click the Index. cshtml file and select View in Browser. You can also right click the Index. cshtml file and select View in Page Inspector.


1 Answers

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 which is also not supported in VS 2008.

like image 170
Dustin Laine Avatar answered Sep 21 '22 17:09

Dustin Laine