.NET - Multiple libraries with the same namespace - referencing

后端 未结 5 1173
天涯浪人
天涯浪人 2020-12-09 09:14

Today I am faced with a curious challenge...

This challenge involves two .NET libraries that I need to reference from my application. Both of which I have no control

5条回答
  •  粉色の甜心
    2020-12-09 10:03

    I'd be surprised if you can do this, without using reflection.

    It might be easier to create your own FooWrapper and BarWrapper dlls which reference foo and bar and expose their contents again under different namespaces.

提交回复
热议问题