“Add Controller” / “Add View” in a hybrid MVC/WebF

2020-02-10 14:45发布

I have an existing WebForms project to which I'm adding MVC pages. I created an MVC project and copied the project type guids.

It works fine, but I can't get Visual Studio to display the "Add Controller" or "Add View" wizards on my controllers and views directories (they're not /Controllers and /Views, they're in /Foo/Controllers and /Foo/Views).

Is it possible to enable the wizards?

7条回答
兄弟一词,经得起流年.
2楼-- · 2020-02-10 15:26

This issue is resolved. I have a hybrid project and I had the same problem. Could not able to see "Add View/Add Controller" in the context menu. It is now resolved. Please see the following link Context menu to Add Controller/View missing

查看更多
登录 后发表回答