Convert legacy ASP.NET application to MVC3 and HTML5

I have an ASP.NET application that works fine, but which becomes cumbersome. I would like to include MVC3 features in it for any new pages and gradually convert all old pages. I plan on using Razor syntax.

It works for me. I can serve the pages just fine. It was a battle, but everything looked good. I believe that I have the entire directory structure and related DLL files.

My only real problems with the IDE:

I cannot select "Add Controller ..." when I right-click the "Controllers" folder. Ditto for Views and "Add Area ..." from the project’s context menu.

I cannot add template elements related to MVC3 (or MVC2, which I also installed).

I also cannot check HTML5 (all tags are invalid), but I think this is a separate issue, because this function does not work for my MVC3 projects either.

I would not even know that these things were absent if they did not work perfectly for a project created as an MVC3 project (with Razor syntax), so it should be something specific in the solution or project, but I cannot find it anywhere .

My question is: Where can I change this so that the IDE recognizes it as an MVC project?

+5
source share
1 answer

, , - IDE, ASP.NET MVC, . , guid ASP.NET MVC, IDE willl , ASP.NET MVC.

1

ASP.NET, " "

enter image description here

2

" "

enter image description here

3

ProjectTypeGuids

{E53F8FEA-EAE0-44A6-8774-FFD645390401};

enter image description here

. , .

.

+8

All Articles