Thanks for that guys, that was just what I needed. Got it working last
night from your instructions

On Nov 8, 11:16 am, Roelof Blom <[email protected]> wrote:
> By the way, you'll need to create an APTCA build of Core also if using
> Windsor under medium trust.
>
> On Mon, Nov 8, 2010 at 12:15 PM, Roelof Blom <[email protected]> wrote:
> > For now this should work: MSBuild buildscripts\build.proj
> > /p:AllowPartiallyTrustedCallers=true /p:Configuration=Release
> > /p:FrameworkVersion=v3.5 /p:BuildConfigKey=NET35
>
> > The Windsor build will be changed (hopefully this week) to match that of
> > Castle.Core and then it will be like this:
> > MSBuild buildscripts\build.proj /p:AllowPartiallyTrustedCallers=true
> > /p:Configuration=NET35-Release
>
> > On Sat, Nov 6, 2010 at 5:47 PM, Mauricio Scheffer <
> > [email protected]> wrote:
>
> >> You can compile to 3.5 by saying "build NET35".
> >> As for the parameter to enable the APTCA flag, the one you mentioned
> >> before applies to NAnt, but the current build system is MSBuild so it won't
> >> work. Don't know how to set APTCA with the current build system though...
>
> >> --
> >> Mauricio
>
> >> On Sat, Nov 6, 2010 at 1:32 PM, dazed3confused 
> >> <[email protected]>wrote:
>
> >>> Well, I'm pretty sure it is trust level that is the issue. I have
> >>> tried rebuilding the source with the details, unfortunately its not
> >>> working as it requires .net 4. Does anyone know if its possible to get
> >>> a hold of the an older version that uses .net 3.5?
>
> >>> This is the part of my code that seems to be causing the problem
> >>> _container = new WindsorContainer(filePath);
> >>> So is it perhaps an issue with Castle.Windsor rather than Castle.Core?
>
> >>> Thanks
> >>> R
>
> >>> On Nov 5, 2:56 pm, dazed3confused <[email protected]> wrote:
> >>> > Oops just realised I ment to add to that last post  in my web config-
>
> >>> > <!-- Application Settings -->
> >>> >   <appSettings>
> >>> >     <!-- The path to the castle config file to configure dependency
> >>> > injection -->
> >>> >     <add key="CASTLE_CONFIG_FILE" value="currentDirectory\Config
> >>> > \Castle.config"/>
> >>> >   </appSettings>
>
> >>> > and I have a seperate xml file called Castle.config which contains-
> >>> > <?xml version="1.0" encoding="utf-8" ?>
> >>> > <configuration>
> >>> >         <components>
> >>> >                 <component
> >>> >                                 id="blog.daofactory"
>
> >>> service="Blog.Core.DataAccess.IDaoFactory, Blog.Core"
> >>> >                                 type="Blog.Dal.DAOs.DaoFactory,
> >>> Blog.Dal">
> >>> >                 </component>
> >>> >                 <component
> >>> >                                 id="blog.servicefactory"
>
> >>> service="Blog.Core.ServiceInterfaces.IServiceFactory, Blog.Core"
> >>> >                                 type="Blog.Bll.Services.ServiceFactory,
> >>> Blog.Bll">
> >>> >                 </component>
> >>> >         </components>
> >>> > </configuration>
>
> >>> --
> >>> 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]<castle-project-users%[email protected]>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/castle-project-users?hl=en.
>
> >>  --
> >> 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]<castle-project-users%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/castle-project-users?hl=en.
>
>

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