例外:
Attempt by method 'System.Web.Mvc.VirtualPathProviderViewEngine.GetPath(System.Web.Mvc.ControllerContext, System.String[], System.String[], System.String, System.String, System.String, System.String, Boolean, System.String[] ByRef)' to access method 'System.Web.Mvc.VirtualPathProviderViewEngine.get_DisplayModeProvider()' failed.
由代码抛出:
return Populate(x =>
{
x.ViewName = "MyView";
x.Subject = "[" + vm.FriendlyName + "] [" + DepResolver.DaemonAppSettingsHelper().EnvironmentName + "] [Status: " + vm.FriendlySuceeded + "]";
x.To.Add(DepResolver.DaemonAppSettingsHelper().TaskEmailRecipient);
});
我该如何解决这个问题>?