0
我特林註冊假身份驗證服務使用調試運行:城堡溫莎Castle.MicroKernel.ComponentRegistrationException
container.Register(Component
.For<Services.IFormsAuthenticationService>()
.ImplementedBy<Services.DebugAuthenticationService>());
其中Services.DebugAuthenticationService implementes Services.IFormsAuthenticationService
,但我得到這個錯誤:
單元測試適配器拋出異常:類型未解析爲成員'Castle.MicroKernel.ComponentRegistrationException,Castle.MicroKernel,Version = 2.1.0.0,Culture = neutral, PublicKeyToken = 407dd0808d44fbdc'..
請張貼滿異常堆棧跟蹤 – 2011-01-31 17:09:14