在WindsorContainer的构造过程中,什么原因导致MethodAccessException?

use*_*632 3 castle-windsor-3

在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.2 温莎城堡 3.3.0

use*_*632 7

看起来这是因为我试图将 Castle.Windsor 3.3.0 与 Castle.Core.4.4.0 一起使用。这会引起问题