in beta 6, we were able to enable custom viewing:
services.AddMvc() .AddViewOptions(options => { options.ViewEngines.Clear(); options.ViewEngines.Add(typeof(MyCustomViewEngine)); });
this no longer works in beta7 and options.ViewEngines seems to have changed to
IList<IViewEngine>
I donβt understand how to connect it without updating it and not providing its dependencies
options.ViewEngines.Add(new it up here?);
How can I enable my own custom view in beta?
asp.net-core asp.net-core-mvc
Joe audette
source share