Does Visual Studio 2010 support MVC 5? - asp.net-mvc

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

Related

Support for .NET framework 4.x on visual studio code

I tried looking for support of .NET Framework on Visual studio code. Also there is no support found by me on MVC5, Entity framework 6 DB First, Asp.net Web Forms and WPF.
Visual studio community and other versions allow us to create applications
mentioned above using templates or wizards, which I could not in VS CODE.
Please let me know there is any way to enable the same.

Generate unit tests for my code by using IntelliTest

I found that I can use IntelliTest to generate unit tests for my code. I am using Visual Studio Enterprise 2019, but I don't see this option when I right-click on a method.
Should I download something?
Could it be related to my answer on Visual Studio 2019 IntelliTest Compatibility With .NET Core, .NET Standard? ? In a nutshell, if your app targets .NET Core there is a bug that needs to be upvoted in order to have this functionality fix.
TL&DR: Visual Studio Enterprise 2022 also does NOT have this capability!
IntelliTest is available in Enterprise edition only. It is supported
for C# code that targets the .NET Framework. .NET Core and .NET
Standard are not currently supported.

.net mvc 5.2.3 does not work correctly in visual studio 2013

After upgrading my .net mvc project to 5.2.3, it does not have nice features like validating view/action names and linking to them.
here are my project type guids
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
which should mean web application + C# and probably is correct
I have Microsoft Visual Studio Ultimate 2013 Version 12.0.31101.00 Update 4
.net version is 4.5.51641
and tools which are probably related
ASP.NET and Web Tools 12.4.51016.0
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0
do i need some additional extension or is there some secret project guid for mvc 5.2.3?
Try uninstalling the package. Then clean the solution and reinstall it again.
it turned out to be a resharper issue
https://youtrack.jetbrains.com/issue/RSRP-433112
have been using this tool for so long it seemed natural to have this kind of intellisense and started to blame visual studio.

MVC4 template not showing in Visual studio 2010, though MVC4 is installed

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.

VS 2010 with MVC 4

I have vs 2010 Express but I can't find MVC 4 projects type on it ! any help please to add this feature or something ?
I have vs 2010 Express but I can't find MVC 4 projects type on it !
That's normal. ASP.NET MVC 4 comes with VS 2012. You could install it separately though from this link if you want to use it with VS 2010.
You should install visual studio 2010 Ultimate.
MVC4 comes with Visual Studio 2012. For updates and to use Web API, SignalR, Facebook Applications, etc., you need to install the ASP.NET Fall 2012 Update, presented by Scott Hanselman.Here is a link ASP.NET Fall 2012 Update Release Candidate.

Resources