gpt4 book ai didi

caSTLe-windsor - 类型 CaSTLe.Facilities.FactorySupport.FactorySupportFacility 没有实现接口(interface) CaSTLe.MicroKernel.IFacility

转载 作者:行者123 更新时间:2023-12-04 05:49:49 26 4
gpt4 key购买 nike

我已将我的解决方案从城堡版本 1.0 更新到版本 3.0,现在我收到此错误:

Type Castle.Facilities.FactorySupport.FactorySupportFacility does not implement the interface Castle.MicroKernel.IFacility.



在我的配置文件中,我有这个:
  <facilities>
<facility
id="factory.support"
type="Castle.Facilities.FactorySupport.FactorySupportFacility, Castle.MicroKernel"
/>
</facilities>

最佳答案

你的组装是错误的。这行得通。

  <facilities>
<facility
id="factory.support"
type="Castle.Facilities.FactorySupport.FactorySupportFacility, Castle.Windsor"
/>
</facilities>

关于caSTLe-windsor - 类型 CaSTLe.Facilities.FactorySupport.FactorySupportFacility 没有实现接口(interface) CaSTLe.MicroKernel.IFacility,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10214009/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com