asp.net - Integrating Web Form and MVC projects -
i integrating mvc project current web forms application. used nuget install mvc solution (based on reading did, suggested doing add binaries , configuration necessary). added new mvc project solution , edited global.asax.vb file following mvc routes:
sub application_start(byval sender object, byval e eventargs) ' code runs on application startup mvc.routeconfig.registerroutes(routetable.routes) end sub
but when run application following error:
system error view 'index' or master not found or no view engine supports searched locations. following locations searched: ~/views/home/index.aspx ~/views/home/index.ascx ~/views/shared/index.aspx ~/views/shared/index.ascx ~/views/home/index.cshtml ~/views/home/index.vbhtml ~/views/shared/index.cshtml ~/views/shared/index.vbhtml
Comments
Post a Comment