http://fabiomaulo.blogspot.com/2008/11/nh-with-multiple-assembly-versions-in.html
2008/11/21 Brian Donahue <[EMAIL PROTECTED]> > Thank you so much for this. I thought something like this was possible, > but wasn't sure exactly how it was done. For anyone else trying this, note > that you MUST remove any xmlns attribute from your root configuration > element or it doesn't recognize your assembly binding: > http://is.gd/8rh1 > > > -Brian > > > > > On Fri, Nov 21, 2008 at 8:27 AM, Sother <[EMAIL PROTECTED]> wrote: > >> >> While a new binary is not released, it can be fixed via assembly >> version redirect. Just add the following XML element to the root >> element of the web.config file: >> >> <runtime> >> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> >> <dependentAssembly> >> <assemblyIdentity name="NHibernate" >> publicKeyToken="aa95f207798dfdb4" culture="neutral"/> >> <bindingRedirect oldVersion="2.0.0.4000" >> newVersion="2.0.1.4000"/> >> </dependentAssembly> >> </assemblyBinding> >> </runtime> >> >> >> On Oct 23, 11:40 pm, "Diego Jancic" <[EMAIL PROTECTED]> wrote: >> > Hi Sandro, >> > I reviewed what you said and I figured out that it was my mistake when I >> > built the 2.0.0RC (because the lib folder on the contrib is still using >> the >> > 2.0.0GA and not the 2.0.1GA). Therefore, the current version is built >> for >> > the 2.0.0GA. >> > I'm talking with Fabio about that and I will try to fix that ASAP >> (upgrading >> > to 2.0.1GA or changing the release notes). >> > >> > Sorry for the inconvenience!, >> > Diego >> > >> > -----Original Message----- >> > From: [email protected] >> > >> > [mailto:[EMAIL PROTECTED] On Behalf Of Sandro >> > Sent: Thursday, October 23, 2008 18:34 >> > To: nhibernate-development >> > Subject: [nhibernate-development] Re: NHibernate 2.0 and SysCache >> > >> > I built a SysCache binary for the NHibernate 2.0.1 GA in case anyone >> > needs it: >> > >> > http://higherlogics.blogspot.com/2008/10/syscache-build-for-nhibernat. >> .. >> > .html >> > >> > Sandro >> > >> > On Oct 21, 12:47 pm, Sandro <[EMAIL PROTECTED]> wrote: >> > > Are you certain that Nhib.Caches 2.0.0RC1 binary dlls work with NH >> > > 2.0.1GA? I'm in the process of upgrading a project to NH 2.0.1GA, and >> > > I'm receiving: >> > >> > > Could not load file or assembly 'NHibernate, Version=2.0.0.4000, >> > > Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its >> > > dependencies. The located assembly's manifest definition does not >> > > match the assembly reference. (Exception from HRESULT: 0x80131040) >> > >> > > Sandro >> > >> > > On Oct 7, 12:03 pm, "Fabio Maulo" <[EMAIL PROTECTED]> wrote: >> > >> > > > Are you using the last available version of NHCH >> > ?https://sourceforge.net/project/showfiles.php?group_id=216446 >> > >> > > > NHibernate.Caches2.0.0RC1 are working with NH2.0.1GA >> > >> > > > NHibernate.Contrib dev-list :http://groups.google.com/group/nhcdevs >> > >> > > > NHCH issues at :http://jira.nhibernate.org/browse/NHCH >> > >> > > > Last info and tech articles about NH :www.nhforge.org >> > >> > > > 2008/10/7 Brian Donahue <[EMAIL PROTECTED]> >> > >> > > > > Hello, >> > >> > > > > I am trying to get NHibernate 2.0 and >> NHibernate.Caches.SysCache.dll >> > > > > to work together. After a lot of chasing my own tail trying to >> find >> > > > > the right versions of each, I got a new message: >> > >> > > > > Method 'BuildCache' in type >> > > > > 'NHibernate.Caches.SysCache.SysCacheProvider' from assembly >> > > > > 'NHibernate.Caches.SysCache, Version=2.0.0.1001, Culture=neutral, >> > > > > PublicKeyToken=aa95f207798dfdb4' does not have an implementation. >> > >> > > > > Does anyone know how I can use NH 2.0 with SysCache or a similar >> cache >> > > > > replacement? I am currently using Castle ActiveRecord with this >> as >> > > > > well. >> > >> > > > > Are other people using second-level caching with 2.0 (and/or >> > > > > ActiveRecord)? If so, I could use some pointers on getting it set >> up >> > > > > correctly. >> > >> > > > > I appreciate any help you can offer! >> > >> > > > > Brian >> > >> > > > -- >> > > > Fabio Maulo >> >> >> > -- Fabio Maulo
