[总结]Enterprise Library的new菜单中没有发现.nettiers.Configuration选项

博客介绍了NetTiers代码的编译和配置过程。首先下载Enterprise Library六月版,按说明用VS2005编译,从CVS仓库获取NetTiers最新源码,打开相关解决方案,修改引用指向新编译的EntLib dlls,编译后复制相关dll文件到指定目录,最后按视频操作生成代码和app.config文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. Download the June release of Enterprise Library
  2. Follow the readme instruction of EntLib to compile for VS2005 (except use VS2005 rather than VS2005B2)
  3. Get the latest source code for the NetTiers code.  You can not use the Nightly builds download, since it only contains the templates and not the source code.  You will need to get the code from the CVS repository.
  4. open the NetTiers.Configuration.2005.sln
  5. Changes the references to point to your newly compile EntLib dlls (EntLib\bin directory).
  6. Compile the solution
  7. Copy NetTiers.Configuration.2005.dll and NetTiers.Configuration.Design.2005.dll to the EntLib\bin directory.
  8. Copy NetTiers.Configuration.2005.dll and the Entlib dlls (Data, Caching, Configuration, Common) to the NetTiers\Templates\References\vs2005beta2 directory (the directory name hasn't been updated for VS2005 RTM).
  9. At this point, you should be able to generate your code and build your app.config file as shown in the video.  Make sure that when you are generating DAL project that you pick vs2005 as your project type so that it picks the correct versions of the Entlib assemblies and NetTiers.Configuration.


Nettiers 一个技术论坛
http://forum.codesmithtools.com/default.aspx?f=19

转载于:https://www.cnblogs.com/goody9807/archive/2005/11/08/271210.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值