I have visual studio 2010 ultimate and MVC frameworks installed however when I open Visual studio it doesn't shows me new MVC templates, I have tried repairing (from control panel) and installation of all the above MVC frameworks, the .NET framework is 4.0
Do someone knows how to solve this issue?
Have you tried ASP.NET MVC 4 for Visual Studio 2010 SP1 and Visual Web Developer 2010 SP1? http://www.microsoft.com/en-au/download/details.aspx?id=30683
It was a mistake of my own, I was not selecting the correct .NET Framework, when I selected the .NET Framework 4, I got the MVC 4 as well as other project templates
answering so that others do not make this mistake.
Related
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?
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
You need VS 2012 or above to have MVC5 support.
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
I have downloaded and installed Visual Studio Express 2012 for Web but I am unable to create any ASP.NET MVC projects, as there are no ASP.NET project options. Is there a separate download or something?
Try downloading/installing:
http://www.asp.net/mvc/mvc4
edit: I'm not referring to downloading Visual Studio. The link I posted is specifically for installing MVC 4 that isn't included in Visual Studio by default. Is it this ASP.NET MVC Extension that you've downloaded? ALSO.. to create an ASP.NET MVC site you have to select NEW->Project and then click on Web sub-category under a language of your choice , not new->Web Site.
Change .net framework version to 4.5
I got Visual Studio 2010 Express C# Edition. I'm using WinXP as OS.
How do I get ASP.Net MVC in it? I saw another question that stated that MVC was included automatically, but I cannot find it anywhere. I've also tried by installing MVC3 RC2. Didn't show up either.
Isn't it possible to use MVC with Express edition?
(I've also got VS 2008 Professional on the same computer)
Edit
I needed the Visual Studio Web Developer Edition to get MVC2.
But how do I get MVC3?
Edit 2
I have XP Home edition which is not supported by web platform installer since IIS is not included. I guess that's why MVC3 wont install in Visual Studio 2010 Express (although it installed fine on my computer which is a bit strange)
Isn't it possible to use MVC with Express edition?
Sure is. I installed VS2010 web express edition and when I choose New Project then it shows the MVC2 web application and empty web application project template. Last week I also installed MVC3 RC via the web platform installer and that shows up too.
You need to explicitly download MVC 3 RC2 from here and install it:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=955d593e-cbd1-4ed1-88eb-02ff79dd74d8
Hello I was wondering how to get the starter template for asp.net mvc showing in vs2008
I currently have mvc installed , have been working with VS2010 but need to create a separate project for VS2008. How can I get the MVC template showing up for VS2008
Since Asp.Net MVC is built into Visual Studio 2010 it probably only creates the templates for VS 2010. If you install ASP.Net MVC for .Net 3.5 I imagine it will have the templates for VS 2008.
Here is the link for ASP.Net MVC 2 RTM for Visual Studio 2008:
Download Link
The templates aren't included by default with Visual Studio 2008 like they are with VS 2010. You can download and install them from one of these two links:
Platform Installer
Standard Installer
I was given an MVC project, but I can't open it. Visual Studio says 'project type is not supported'.
I have Visual Studio 2008 (maybe professional) + mvc last version (2 beta).
What must I do?
Probably this is an ASP.NET MVC V1 project, so you might need to install this as well.