0
無法從程序集Markweb
中加載類型Mark.DAL.CartInitializer
。運行自定義視圖時出現ASP.NET MVC 5異常
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'Mark.DAL.MarkInitializer' from assembly 'Markweb1'.
錯誤源:
public ActionResult Index()
{
return View(db.mark.ToList());
}