在构造WindsorContainer时导致MethodAccessException的原因是什么?>>
System.MethodAccessException: Attempt by method 'Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor()' to access method 'System.Collections.Generic.Dictionary`2<System.__Canon,System.__Canon>..ctor()' failed.
at Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor()
at Castle.MicroKernel.DefaultKernel.RegisterSubSystems()
at Castle.MicroKernel.DefaultKernel..ctor(IDependencyResolver resolver, IProxyFactory proxyFactory)
at Castle.MicroKernel.DefaultKernel..ctor()
at Castle.Windsor.WindsorContainer..ctor()
。NET 4.7.2Castle.Windsor 3.3.0
在WindsorContainer的构建过程中,什么导致MethodAccessException? System.MethodAccessException:尝试通过方法'Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor(...
看起来像是因为我试图将Castle.Windsor 3.3.0与Castle.Core.4.4.0一起使用。这将导致issues。