Share via

Where is MVC5?

Bryan Valencia 186 Reputation points
Sep 21, 2021, 11:43 PM

Creating a new project in VS2019 Pro.
134065-capture.jpg

Search for MVC and there are no templates for MVC 5, only 4. I want to create an MVC5 project.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 30,176 Reputation points Microsoft External Staff
    Sep 22, 2021, 5:56 AM

    Hi @Bryan Valencia ,

    Search for MVC and there are no templates for MVC 5, only 4.

    Maybe you said only 4 refers to the picture?
    134169-1.png
    Maybe you can create a successful project first and check the mvc version in the web.config file.
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
    </dependentAssembly>


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Best regards,
    Lan Huang

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.