c# - 如何仅使用 CaSTLe Core 2.5.2 中的 DictionaryAdapter?

标签 c# castle castle-dictionaryadapter

我只想在已经使用 CaSTLe Core 1.2 的旧应用程序中使用 CaSTLe Core 2.5.2 中的 DictionaryAdapter。除了仅从源代码编译 DictionaryAdapter 之外,有没有办法将这些库的公共(public)部分分开?

最佳答案

我会先尝试将 CaSTLe.Core 升级到 2.5.2,但您的问题是这会拖累其他依赖项。您可以尝试从源代码编译 DictionaryAdapter,它完全独立于 CaSTLe.Core 的其余部分,因此应该不会有太大问题。

关于c# - 如何仅使用 CaSTLe Core 2.5.2 中的 DictionaryAdapter?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4649273/

相关文章:

caSTLe-windsor - CaSTLe 温莎错误 : Resolving singleton through child container

.net - 如何在不引用 CaSTLe DynamicProxy 的情况下检测 Type 是否是生成的 DynamicProxy?

c# - 如何使用 Entity Framework Code First 将 C# int 映射到 SqlServer tinyint?

c# - 获取数据库中最后创建的条目

c# - 将 JSON 数组序列化为类的实例

c# - ThreadLocal 性能与使用参数

c# - IoC - 构造函数将运行时值作为一个参数,将服务作为另一个参数