How to intergrate mvc web app into asp.net web app inside one asp.net project

Viewed 45

Inside .net project -
We have asp.net web application which is a main application, and for migrating asp pages to mvc pages we create mvc web application inside same project and added mvc web app reference to main asp.net web app.

but when we run the project for some menus which are created in mvc pages it says "The view 'ViewName' or its master was not found or no view engine supports the searched locations. The following locations were searched:"

and to solve this --> I have added mvc web app "view folder" to asp web app and that resolves the issue.

Problem: So the problem here is that, I have to maintain the view folder at both the applications, is there any way to keep the view folder in mvc web app only and use it in asp web app.

enter image description here

0 Answers
Related