-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Linq for NHibernate reference issue
PostPosted: Mon Jun 30, 2008 5:54 am 
Newbie

Joined: Mon Mar 17, 2008 9:31 am
Posts: 6
Hi

I am busy coding against the latest version of NHibernate.dll (2.0.0.1002).

I have just checked out the Linq for NHibernate project and compiled. I simply moved the NHibernate.Linq.dll to the folder where I have NHibernate.dll and referenced NHibernate.Linq.dll in my project. At runtime I get the following error:

System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'NHibernate, Version=2.0.0.1001, 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)"

I assume this is caused by the fact that the assemblies have strong names and I am trying to use a later version.
Should I simply recompile Linq for NHibernate against the later version of NHibernate.dll?

Am I missing something?

Thanks
Craig


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.