-1

I have two dll-s with the same name and both are version 1.0.0.0 but they are different. One is newer and has some stuff implemented that older one doesn't. I have to use both of them since they support different devices. I used aliases and it worked for older dll. I could reference it by alias but I couldn't use newer one that was in global alias nor in new alias.

Error   CS0430  The extern alias 'New_Interop' was not specified in a /reference option *.Driver                                            C:\Users\*\source\repos\*\*.Driver\*.cs 1   Active
Error   CS0246  The type or namespace name '*' could not be found (are you missing a using directive or an assembly reference?) *.Driver    C:\Users\*\source\repos\*\*.Driver\*.cs 15  Active

Tryed this, didn't help: two different DLL with same namespace

1 Answers1

0

I made wrapper around old one and included it as OldInterop with that namespace.