有没有人见过这个错误?缓存应用程序块错误
为cachingConfiguration创建配置节处理程序时发生错误:无法加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Caching,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35”或其某个依赖项。定位的程序集清单定义与程序集引用不匹配。 (来自HRESULT的异常:0x80131040)(C:\ WorkingDir \ Projects \ ReportCentral \ ReportCentral \ bin \ Debug \ ReportCentral.vshost.exe.config第5行)
我正在使用Ent Lib 4.0。我将我的App Traget Framework从2.0更改为3.5。
编辑〜
我已经在bin下面
Caching.dll Common.dll ObjectBuilder2.dll
编辑〜 “解决方案”
这是交易,当在C:\ EntLib4Src \ bin中引用dll时,它们被签名并且只能由在同一文件夹中找到的EntLibConfig.exe配置,而不能从“开始>程序> Microsoft模式...> Ent Wa那么棘手?
在bin Caching.dll Common.dll我有以下 ObjectBuilder2.dll – 2008-10-09 18:23:17