Hi Muhammad

I  don't know of

WindsorBootstrapper

so it probably is some 3rd party tool that you're trying to integrate with. As far as Windsor goes, the code looks OK.

K



On 12/01/2012 1:51 AM, Muhammad Saqib Raza wrote:
Hi,
     I am using WindsorBootstrapper in my project. I have started with
castle windsor 2.1.1 version. But while deployment I ve start
recieving the following exception  "ComponentActivator: Couldnot
Instantiate". Then to resolve this problem I thought there might be
some fix for the problem in the latest version and I have updated my
solution with castle 3.0. Now I have start getting compile time
exception while configuring container as follows: "Could not load
type  ' Castle.MicroKernel.Registration.ConfigureDelegate' from
assembly 'Castle.Windsor, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc' ".
following is the code i ve written in my bootstarpper to configure the
container.

  protected override void ConfigureContainer()
         {
             base.ConfigureContainer();


Container.Register(Component.For<ShellViewModel>().ImplementedBy<ShellViewModel>());

Container.Register(Component.For<Shell>().ImplementedBy<Shell>());
             foreach (var moduleInfo in ModuleCatalog.Modules)
             {

Container.Register(Component.For(Type.GetType(moduleInfo.ModuleType)));

             }

         }
  this is one of my overriden method in my ownbootstrapper class which
is derived from WindsorBootStrapper class.

Can anyone has come across with the same problem or any idea about the
issue?. Please suggest some solution thanks.

Regards.
Saqib.


--
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.

Reply via email to