question

BryanValencia-7384 avatar image
0 Votes"
BryanValencia-7384 asked LanHuang-MSFT answered

Where is MVC5?

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.



dotnet-aspnet-mvc
capture.jpg (97.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LanHuang-MSFT avatar image
0 Votes"
LanHuang-MSFT answered

Hi @BryanValencia-7384,

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


1.png (5.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.