已安装enterprise library June 2005,也运行了install service.在.NET的项目里,添加reference,在.NET tab里面没有找到Enterprise Library...等等一系列assembly.是不是在这之前还要做什么步骤?

解决方案 »

  1.   

    http://www.dotnettools.org/2005/doc/entlib/EntLib001.htm
      

  2.   

    1.添加enterprise library  DLL 引用
    2.利用Config tool配置相关参数
    3.在程序中调用静态类其实enterprise library也是一些DLL 类库,就像调用平常托管代码的那样去
    使用就好。
    不过也要参看相关的类库说明和Demo才好·
      

  3.   

    1)用Config tool打开你的web.config或App.config,然后加入 DAAB等Block
    2)添加enterprise library  的config.DLL等 引用
    3)程序中: db.CreateDatabase().....