The syntax looks correct... did you reference the second assembly?
On Thu, Oct 30, 2008 at 9:45 PM, Shawn Hinsey <[EMAIL PROTECTED]> wrote: > > Using the sample from the docs, > > <component > id='int.repos.generic' > service='Namespace.IRepository`1[[System.Int32]], AssemblyName' > type='Namespace.Repository`1[[System.Int32]], AssemblyName' /> > > What's the syntax here if the generic parameter (Int32) is in a > different assembly from the type/service? > > I was thinking this, > > <component > id='int.repos.generic' > service='Namespace.IRepository`1[[MyType, MyAssembly]], AssemblyName' > type='Namespace.Repository`1[[MyType, MyAssembly]], AssemblyName' /> > > This throws System.Configuration.ConfigurationErrorsException with: > The type name MyGenericType`1[[MyGenericArgument, AssemblyTwo]], > AssemblyOne could not be located > > It's totally possible that I have something else wrong, so I wanted a > sanity check. Is this the correct syntax? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
