At 04:47 21/08/2009, Brian J. Sayatovic wrote:
>I'm trying to use NHibernate 2.1 and StringTemplate 
>3.1.  NHibernate depends upon Antlr3.Runtime for its HQL query 
>language.  NHibernate 2.1 depends upon Antlr3.Runtime version 
>3.1.0.39271 public key 3a9cab8f8d22bfb7.  meanwhile, 
>StringTemplate 3.1 also depends upon Antlr3.Runtime, but version 
>3.1.3.6002 public key eb42632606e9261f.
>
>I've tried using assembly binding redirection in my application 
>configuration, but because the public keys are different, it will 
>never work.

If I recall correctly, the fact that they have different public 
keys should mean that it's possible to include both of them at the 
same time -- .NET will treat them as distinct and the types won't 
be compatible though.

If you rename one of the files, and ensure that NHibernate 
references one and your app references the other, then it should 
just work, I think.  (If your app needs to reference both then it 
introduces an ambiguity problem; I think there is a way to resolve 
that but I don't remember what it is offhand.)


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-interest@googlegroups.com
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to