在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
归档时间: |
|
查看次数: |
835 次 |
最近记录: |