往事如风

博客园 首页 新随笔 联系 订阅 管理

 void Application_Start(Object sender, EventArgs e) {
        // Code that runs on application startup
        AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);

    }
    System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
    {
        //根据 args.Name 加载自己的assembly
    }

posted on 2005-08-17 20:49  真没劲  阅读(4131)  评论(0编辑  收藏  举报