New Patch 1475 for Enterprise Library v1.0

New Patch 1475 for Enterprise Library v1.0

 

继上次的Patch 1462Enterprise Library v1.0又释放了新Patch 1475,该Patch主要解决内存泄漏(memory leak)问题,其他所有的Application blocks都调用了该CAB。因此,Microsoft强烈建议用户更新该PatchPatch 1475只包含一个简单的ConfigurationManager.cs类文件和一个Readme.htm文档。直接覆盖Configuration Application BlockConfigurationManager.cs文件即可。

 

安装方法:

1. 复制ConfigurationManager.cs文件到[Enterprise Library Installation Directory]\src\Configuration目录。

2. VS.Net打开.\src目录下的EnterpriseLibrary.sln文件,或者在Start菜单选择"Enterprise Library Solution"快捷项直接该文件。

3. 选择Build菜单的Build Solution菜单项,重新编译Enterprise Library Solution的所有项目。

4. 确认成功编译,并关闭VS.Net

5. 运行Enterprise Library程序项的"Copy assemblies to bin directory script"

6. 删除系统中所有旧版本的Microsoft.Practices.EnterpriseLibrary.Configuration.dll,并替换为.\bin目录下的新版本。

7. 重新编译使用Enterprise Library的所有应用程序。

 

Reference:

1. Enterprise Library v1.0, http://www.gotdotnet.com/workspaces/workspace.aspx?id=295a464a-6072-4e25-94e2-91be63527327

 

原文地址:https://www.cnblogs.com/rickie/p/134615.html