Where is MVC5?

Bryan Valencia 181 Reputation points
2021-09-21T23:43:03.417+00:00

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,251 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
    2021-09-22T05:56:09.92+00:00

    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