I've now used ILMerge to merge NHibernate 2.1's Antlr3.Runtime
assembly into the NHibernate assembly (with Antlr3.Rutnime's types
"internalized"). That produced a hopeful output; however, now
NHibernate.Linq and other assemblies complained because the new
NHibernate.dll did not match their string reference to the official
NHibernate assembly.
Then I tried merging the NHibernate.Linq assembly into the merged
assembly as well. Internalizing its types made Linq unavailable. So
then I tried it without internalization but used union instead. Its
still failing saying it needs the original NHibernate assembly:
Error 6 The type 'NHibernate.ISession' is defined in an assembly that
is not referenced. You must add a reference to assembly 'NHibernate,
Version=2.1.0.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4'...
> ILMerge...probably we will use it in next version
>
> 2009/8/20 Trinition <
trinit...@gmail.com>
>
>
>
>
>
>
>
> > I looked into assembly binding redirection, but it didnt' work because
> > the
> > Antlr3.Runtime versions I'm working with seem to have different public
> > keys
> > (I think... not sure).
> > I'll ponder whether I want o have to compile my own version of
> > NHibernate
> > against the newer Antlr3.Runtime.
>
> > Thanks!
>
> > Regards,
> > Brian.
>
> > On Aug 19, 12:08 pm, Tuna Toksoz <
tehl...@gmail.com> wrote:
> > > if there are breaking changes, you can use assembly redirection, if there
> > is
> > > no breaking change, compile one against other's antlr dll
>
> > > Tuna Toksöz
> > > Eternal sunshine of the open source mind.
>
> >
http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt...