How to resolve conflicting assemblies in .Net?

Posted by Amitabh on Stack Overflow See other posts from Stack Overflow or by Amitabh
Published on 2010-06-15T16:42:03Z Indexed on 2010/06/15 20:42 UTC
Read the original article Hit count: 331

In my web application I am using NHibernate.dll. This has a dependency on folowing assembly.

'Antlr3.Runtime, Version=3.1.0.39271, Culture=neutral, PublicKeyToken=3a9cab8f8d22bfb7'

Now in the same project for another requirement I have to introduce Antlr3.StringTemplate.dll. Which has a dependency on another version of the above assembly.

If I use the version of Antlr3.Runtime.dll which satisfies NHibernate , Antlr3.StringTemplate starts complaining and vice-versa.

How to resolve a situation like this?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about ASP.NET