Created
April 16, 2011 21:09
-
-
Save geoffreysmith/923501 to your computer and use it in GitHub Desktop.
AddCustomRepositoriesTo(container);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Could not load type 'System.Func`2' from assembly 'SharpArch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. | |
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. | |
Exception Details: System.TypeLoadException: Could not load type 'System.Func`2' from assembly 'SharpArch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. | |
Source Error: | |
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. | |
Stack Trace: | |
[TypeLoadException: Could not load type 'System.Func`2' from assembly 'SharpArch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.] | |
SharpArch.Web.Mvc.Castle.<>c__DisplayClass2.<FirstNonGenericCoreInterface>b__0(Type type, Type[] baseType) +0 | |
Castle.MicroKernel.Registration.ServiceDescriptor.GetServices(Type type, Type[] baseType) +241 | |
Castle.MicroKernel.Registration.BasedOnDescriptor.TryRegister(Type type, IKernel kernel) +172 | |
Castle.MicroKernel.Registration.FromDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(IKernel kernel) +217 | |
Castle.MicroKernel.Registration.BasedOnDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(IKernel kernel) +40 | |
Castle.MicroKernel.DefaultKernel.Register(IRegistration[] registrations) +188 | |
Castle.Windsor.WindsorContainer.Register(IRegistration[] registrations) +51 | |
SharpCookbook.Web.CastleWindsor.ComponentRegistrar.AddCustomRepositoriesTo(IWindsorContainer container) +177 | |
SharpCookbook.Web.CastleWindsor.ComponentRegistrar.AddComponentsTo(IWindsorContainer container) +78 | |
SharpCookbook.Web.MvcApplication.InitializeServiceLocator() +291 | |
SharpCookbook.Web.MvcApplication.Application_Start() +202 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment