views:

3

answers:

0
I made a custom view engine for my application.
 ~/Themes/Default/Views.. 
And I have an Area called Admin.
 Area/Admin/Views.. 

I register my custom view engine in Global.asax :

RegisterViewEngines(ViewEngines.Engines);
AreaRegistration.RegisterAllAreas();
RegisterRoutes(RouteTable.Routes);


When I browsed my admin site, it cant find the views..
I know its because of my custom view engine..
But how can you register new custom view engine 
without affecting the view engine of areas?