I am trying to create two MVC applications, and in first application created one view and compiled the application, and in the second application i have added the dll of the first application. in the routeconfig.cs file added the below line.
"Structure of First application"
Application1
Controller Home(Actionmethod is Home) View Home.cshtml Application2: references:Application1
_layout.cshtml.
trying to access url: localhost/Home
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
namespaces: new[] { "TestApp.Controllers" }
and i am trying to call the view from the first application, but it is not able to find the view from the first application, can any body tell me any other configurations do i need to add to access the view of first application.
Thanks in advance.