-->
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.  [ 3 posts ] 
Author Message
 Post subject: Package NHibernate1.0.2.0 contains wrong version of sources?
PostPosted: Wed Mar 15, 2006 11:40 am 
Newbie

Joined: Thu Aug 25, 2005 3:14 am
Posts: 19
Hi!

Hibernate version:1.0.2.0

I recompiled NHibernate using MSVS2003 and use
\src\NHibernate-1.1.sln
I comment AssemblyKeyFileAttribute in AssemblyInfo.cs
and change couple lines of code in SqlDialect.cs.
After that i rebuild project NHibernate-1.1

In my work project i replace reference of original NHibernate.dll
on my build of it.
But!!!!!
When run my application I receive exception
"File or assembly name HashCodeProvider, or one of its dependencies, was not found."

But when i use original signed Nhibernate.dll this exeption is not received.

Using reflector i found that all deals in this class
Code:
public class IdentityHashCodeProvider 


Original NHIbernate.dll included it but my version NHIbernate.dll don`t contain this class.

I miss something or developers include wrong version of source code in package NHibernate version 1.0.2.0 ?

_________________
------------------------------
NETDigitally yours Jericho


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 16, 2006 9:56 am 
Regular
Regular

Joined: Fri Jun 11, 2004 6:27 am
Posts: 81
Location: Yaroslavl, Russia
It happens because during the "official" build of NH, ilmerge tool is used to merge NHibernate.dll and HashCodeProvider.dll. You can achieve the same effect building with NAnt script, included into the distribution. Or you can simply copy HashCodeProvider.dll into your "bin" directory.

_________________
Best,
Andrew Mayorov // BYTE-force


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 16, 2006 10:47 am 
Newbie

Joined: Thu Aug 25, 2005 3:14 am
Posts: 19
Hi xor!
xor wrote:
It happens because during the "official" build of NH, ilmerge tool is used to merge NHibernate.dll and HashCodeProvider.dll. You can achieve the same effect building with NAnt script, included into the distribution. Or you can simply copy HashCodeProvider.dll into your "bin" directory.


Ok i understand. Thanks.
I copied HashCodeProvider.dll in my bin directory and problem has gone.

_________________
------------------------------
NETDigitally yours Jericho


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

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.