26

My question is can we develop an application in Visual Studio 2010 using MVC 5?

If yes, please also mention the tutorial or sample code url with your answer.

If no, then please specify the requirements of MVC 5 to build an application with it?

jrummell
  • 42,637
  • 17
  • 112
  • 171
Abdul
  • 854
  • 1
  • 9
  • 11

3 Answers3

32

No it isn't possible. You need Visual Studio 2012 and I thought .NET 4.5 at least. See the upgrade notes for detail information http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2

LockTar
  • 5,364
  • 3
  • 46
  • 72
13

You need VS 2012 or above to have MVC5 support.

Aby
  • 1,916
  • 1
  • 12
  • 18
8

From the EF Blog

Compatibility

This version of the NuGet package is fully compatible with Visual Studio 2010 and Visual Studio 2012 and can be used for applications targeting .NET 4.0 and 4.5.

Some features are only available when writing an application that targets .NET 4.5. This includes enum support, spatial data types, table-valued functions and the performance improvements.

I was able to add EF5 to an MVC4 project through NuGet. You can certainly use MVC 4, you just won't get all the new features unless you're on VS2012.

Difference MVC3 VS MVC4

Community
  • 1
  • 1
Amit
  • 15,217
  • 8
  • 46
  • 68
  • Amit Thanks for your answer.....please suggest what MVC version better for me with Visual Studio 2010 either MVC 3 or MVC 4 – Abdul Jan 03 '14 at 07:58
  • If you are using WEBAPI then Use `VS 2012 with MVC4` else `MVC3` is good. Difference is in my answer – Amit Jan 03 '14 at 07:59
  • 6
    But the ask is about the MVC and that resposta if about EF... two different things – MayogaX Apr 30 '14 at 15:38