Hi,
I have 2 class libraries in C# targeting .net framework 4.0. Both class libraries are referencing a dll named ANTLR3.Runtime.dll. Project A uses a reference of ANTLR3.Runtime version 1.0 and Project B uses a reference of ANTLR3.Runtime version 3.0. I need both the dlls in my solution and both the dlls copy local is set to true. When I debug my UI project that is referencing both projects A & B, I am getting a stack overflow exception. When looking at the call stack, the mscorlib's on assembly resolve event was looking for ANTLR3.Runtime version 1.0. I think one version is overwritten by the other because both dlls copy local is set to true and 2 dlls can not exists in bin/debug folder with same name. [though both dlls are signed]
I can not add one dll to GAC because my application is a clickonce and I dont want to write/register the dlls to client machine's GAC due to security reasons.
I tried using extern alias but not successful or may be I have done it incorrectly. If someone tell me clearly how to implement the extern alias that will be great. If not possible using this, I need some other simple solution.
Any help on this would be greatly appreciated.
Thanks,
Arun.K.S