What's the best way to check whether APTCA is being applied? So far I've been testing for it through trial and error as I'm not aware of a better way...
If I use a build without the -D:assembly.allow-partially-trusted- callers=true argument when I try to use active record in medium trust I get a SecurityException at: IConfigurationSource source = ActiveRecordSectionHandler.Instance; With the allow-partially-trusted-callers=true it makes it to the line in ActiveRecordStarter.cs that I referenced in my earlier post. I've tried adding [assembly: AllowPartiallyTrustedCallersAttribute] to the ActiveRecordModelBuilder.cs file but when I try to compile it, I receive the compile error: CS0579: Duplicate 'AllowPartiallyTrustedCallersAttribute' Thanks in advance, Mark On Feb 15, 7:56 pm, hammett <[email protected]> wrote: > Could you check whether the APTCA is being applied to the > castle.activerecord.dll? > > On Mon, Feb 15, 2010 at 5:45 PM, Mark <[email protected]> wrote: > > I've gone through and built Castle.Core, Castle.ActiveRecord, and > > Castle.DynamicProxy with > > -- > Cheers, > hammetthttp://hammett.castleproject.org/ -- 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.
