Hi John, I'm using an older version - 2.5.1.0- which still works ok.
The reason for this is because it compiles in .Net 3.5 which is a requirement for the project I'm working on. The 3.x version uses some .Net 4.0 specific features- I did manage to replace most of them at one stage but due to time constraints didn't get back around to it. Cheers, Ross. On Jan 5, 1:10 pm, John Jeffery <[email protected]> wrote: > Hi Ross, > > What version of Castle.Services.Transactions were you using? I am > interested in getting the NH facility going as well, and I checked out > from the trunk and applied your patch. > > All good so far, but I am also getting a compile error in src > \Castle.Facilities.NHibernateIntegration\Internal\ResourceAdapter.cs > > The ResourceAdapter class implements an interface > Castle.Services.Transactions.IResource, which no longer exists in the > latest version of Castle.Services.Transactions (I used version > 3.0.202.2202 from nuget). I have had a look around trying to work out > if this interface has been renamed or moved, but it would appear that > it has been completely removed. Any suggestions gratefully received. > > Cheers -- John > > On Dec 21 2011, 11:19 am, ross <[email protected]> wrote: > > > > > Posted the issue and some patches to the issue tracker: > > >http://issues.castleproject.org/issue/FACILITIES-156 > > > On Dec 19, 4:40 pm, ross <[email protected]> wrote:> Hi All, > > > > I posted on Stack Overflow previously as I was having trouble with the > > > NHibernateIntegration facility in Windsor when working alongside > > > Castle Windsor 3. The question is located at: > > > >http://stackoverflow.com/questions/8557327/castle-windsor-3-fluent-nh... > > > > I have since recompiled the NHibernateIntegration Facility DLL file > > > with a few changes to get it working and was wondering if this is > > > worth creating a patch for? The changes are: > > > > For src\Castle.Facilities.NHibernateIntegration\Internal > > > \SessionFactoryActivator.cs: > > > > Before: public override object Create(CreationContext context) > > > After: public override object Create(CreationContext context, Burden > > > burden) > > > > For src\Castle.Facilities.NHibernateIntegration\Internal > > > \NHSessionComponentInspector.cs > > > > Before: model.Dependencies.Add(new > > > DependencyModel(DependencyType.Service, null, > > > typeof(NHSessionInterceptor), false)); > > > > After: model.Dependencies.Add(new DependencyModel(null, > > > typeof(NHSessionInterceptor), false)); > > > > Thanks, > > > > Ross.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" 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-devel?hl=en.
