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.  [ 2 posts ] 
Author Message
 Post subject: nhibernate paypal different log4net versions
PostPosted: Mon Aug 14, 2006 9:32 pm 
Beginner
Beginner

Joined: Tue Dec 20, 2005 9:40 pm
Posts: 20
Hi,

I'm trying to compile a project which uses both nhib and paypall dll. Each of them use a different version of log4net and I get versioning errors depending on which log4net dll i use. Any advice? I tried recompiling nhib with the paypal version of log4net but get errors.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 4:01 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
You can try adding both versions of log4net into the GAC. Or, alternatively, you can use the application configuration file to specify where the different versions of an assembly are located:
Code:
   <dependentAssembly>
      <assemblyIdentity name="log4net" publicKeyToken="..." />
         <codeBase version="1.0.0.0" href="v1/log4net.dll"/>
         <codeBase version="2.0.0.0" href="v2/log4net.dll"/>
   </dependentAssembly>

(adapted from MS documentation that can be found here).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.