.NET - Multiple libraries with the same namespace - referencing

后端 未结 5 1168
天涯浪人
天涯浪人 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 09:53

    You need to use an extern alias - introduced in C# 2.

    Anson Horton has a walkthrough on his blog which you may find useful.

提交回复
热议问题