Hi guys,I'm new to Windsor and I'm trying to run it under medium trust. I've researched old discussion about that but did not have any luck doing what the old conversations suggest. I'm getting the following error while trying to create an new instance of WindsorContainer:
Inheritance security rules violated while overriding member: 'Castle.MicroKernel.DefaultKernel.InitializeLifetimeService()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
I noticed there are build options but did not understand what parameter I should be passing in in order to build a version that works on medium trust.Can anyone help me with that?ThanksAllan--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
return permissionSet.IsSubsetOf(AppDomain.CurrentDomain.PermissionSet)
of this method
PermissionUtil.IsGranted(IPermission)
is this the only error?I think it's safe to remove these overrides to InitializeLifetimeService since I think they just kill the default remoting lease (rarely need, just when using windsor through remoting)
On Wed, May 1, 2013 at 12:53 PM, Allan Fagner <allan...@gmail.com> wrote:
Hi guys,I'm new to Windsor and I'm trying to run it under medium trust. I've researched old discussion about that but did not have any luck doing what the old conversations suggest. I'm getting the following error while trying to create an new instance of WindsorContainer:
Inheritance security rules violated while overriding member: 'Castle.MicroKernel.DefaultKernel.InitializeLifetimeService()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
I noticed there are build options but did not understand what parameter I should be passing in in order to build a version that works on medium trust.Can anyone help me with that?Thanks
Allan--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-users+unsub...@googlegroups.com.
To post to this group, send email to castle-pro...@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.