I\'ve come up against the unlikely scenario when I reference two external assemblies that both have the same namespace and type names. When I try to use the type, the compil
Try this:
extern alias asm1; extern alias asm2; namespace Client { class Program { static void Main(string[] args) { asm1.MyNs.MyClass mc1 = null; asm2.MyNs.MyClass mc2 = null; } } }
And add global,asm1 to the project reference for assembly1 and global,asm2 for assembly2
global,asm1
global,asm2