or - maybe you're using another project that has a strict dependency on the
older NH?

On Sun, Aug 2, 2009 at 9:28 PM, Davy Brion <[email protected]> wrote:

> which version number is listed in the reference to nhibernate in your
> project file?
>
>
> On Sun, Aug 2, 2009 at 8:24 PM, mathmax <[email protected]>wrote:
>
>>
>> Yes that what is sayed in the exception but I don't understand why is
>> try to load the version 2.0.1.4000. What should I change in the config
>> file to load the version 2.1.0.4000?
>>
>> On 2 août, 20:08, Kim Johansson <[email protected]> wrote:
>> > You have the references wrong somehwere, it's trying to load the old
>> one.
>> >
>> > *Version=2.0.1.4000
>> >
>> > *Just a note... ;) Check the exception next time.
>> >
>> > mathmax wrote:
>> > > Hello,
>> >
>> > > I try to upgrade from nh 2.0.1 to nh 2.1.0. It seems that there are
>> > > some breaking changes in the configuration file between these two
>> > > versions.
>> >
>> > > Here is the config file I use.
>> >
>> > > <?xml version="1.0" encoding="utf-8" ?>
>> > > <configuration>
>> > >   <configSections>
>> > >     <section name="nhibernate"
>> > > type="System.Configuration.NameValueSectionHandler, System,
>> > > Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/
>> >
>> > >   </configSections>
>> > >   <nhibernate>
>> > >     ...
>> > >   </nhibernate>
>> > > </configuration>
>> >
>> > > Here is the exception I get with nh 2.1.0:
>> >
>> > > Could not load file or assembly '%NHibernate, Version=2.0.1.4000,
>> > > Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its
>> > > dependencies. The system cannot find the file specified. The located
>> > > assembly's manifest definition does not match the assembly reference.
>> >
>> > > Does anyone know how to write the config file for nh 2.1.0?
>> >
>> > > Thank you in advance.
>> >
>> > > Mathmax
>>
>>
>
> >
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to