PrecompiledApp.config 之 application_start 之效

在上传一个网站的时候把 web publish 后的 PrecompiledApp.config删除
结果发现

application_start没有办法运行到了。

在application_start中我是加载ActiveRecordStarter.Initialize
结果老是提示

An ActiveRecord class (Yardi.LDD.Entities.MenuItemInfo) was used but the framework seems not properly initialized. Did you forget about ActiveRecordStarter.Initialize() ?


把这个 PrecompiledApp.config放上去就ok了

原文地址:https://www.cnblogs.com/lovebanyi/p/919611.html