Hi I tried the build and nant, and nothing worked!!! I even tried tortoise and svn downloads. I also tried Horn - same problem. I moved from a SA server to a US server and still get the Security Exception - pretty frustrating.
My app worked perfectly on the local server. I must be doing something real stoopid because I cant seem to download source off the Github either. whenever I click, right click on downloadsource - nothing happens. I'm at a loss. T On Fri, Sep 17, 2010 at 12:47 PM, Pbirkoff <[email protected]> wrote: > Hi Teresa, > > Have you solved this problem yet? I've been having the same problems > trying to get AR to work in Medium Trust. There is quite some > documentation, but none of it seems to work completely. I found a nice > article about using Horn to get the files, but Horn doesn't seem to > exist anymore. > > I would like to write my own guide to do it now, but I still didnt get > it to work. Çan anyone answer on of the following questions: > > - When only using AR in a project, what DLL's should be marked as > APTC? Nhibernate.dll? Castle.Core.dll? Castle.DynamicProxy2.dll? > Castle.ActiveRecord.dll? > - Should I use NAnt to build the projects, or should I use the > build.cmd? Or VS? > > I've tried the following (according to the article on: > http://blog.yeticode.co.uk/2010/03/running-nhibernate-in-medium-trust/) > > I downloaded the latest Castle.Core from GitHub. > I downloaded the latest NHibernate source. > > I changed the CommonAssemblyInfo.cs to allow partially trusted > callers. But then I should build the project, but I'm not sure how. I > ran the build.cmd, and that resulted in a Castle.Core.dll, but no > Castle.DynamicProxy2.dll. Do I need that one? > When I try to reference the new assemblies in the > NHibernate.Everthing.sln, and the NHibernate.ByteCode.Castle project, > It says it can't find the assembly? (An error-icon appears in the > reference). Does this have anything to do with the fact the > Castle.Core uses the .NET 4.0 version? > > Now I'm quite stuck, and really don't know how to continue.. Hope > someone can help, not only to get the correct dll's, but also to help > me write a good article about this.. I can't imagine no-one has the > same problems... > > > > > On Aug 25, 6:09 pm, Teresa <[email protected]> wrote: > > Hi > > Has anyone managed to get ActiveRecord working on Medium Trust > environments? > > I've tried all the options - build, tortoise etc with no luck. > > Teresa > > -- > 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.
