views:

267

answers:

2
+1  Q: 

.Net Assembly Hell

I am Trying to develop a .Net Web Project using NHibernate and Spring.net. But I'm stuck.

Spring.net seems to depend on different versions of the NHibernate assemblies (maybe it needs 1.2.1.4000 and my NHibernate version is 1.2.0.4000).

I solved some problems with the "bindingRedirect" TAG, but now even that stopped working.

My Question is:

Is there any way to do this in a simple way to resolve this inter-library relations?

+9  A: 

I too ran into this, frustrated I just grabbed the Spring source and compiled it against the latest NHibernate to make it go away forever. Not sure if that's an option for you but the 10 minutes that took seems to have saved me a lot of time overall.

Here's the SourceForge link for the Spring Source for all versions: Spring Source

Nick Craver
Wow, you got yours in one second before mine... +1
Geoffrey Chetwood
You can even download their compiled nightly builds here: http://www.springframework.net/downloads/nightly/
tobsen
+3  A: 

Spring.Net is open source isn't it? Why don't you just download the source, update the reference to the same version of NHibernate you are using and recompile?

Geoffrey Chetwood