container.Register(
AllTypes.Pick().FromAssembly(typeof (UserRepository).Assembly)
.WithService.FirstInterface());
Currently the code above will work fine if the interface are also in the same assembly but it will blow up if IUserRepository is from a different assembly.
Is auto registration from two different assemblies possible? Am I missing something here?