ambiguous class with namespace names in 2 dlls

前端 未结 2 1429
栀梦
栀梦 2021-02-05 08:40

I\'ve imported 2 dlls to my application (third party) Now both of them have a namespace with same name. For example A.B and in both of them there is a class again with a same na

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 09:15

    Just a little improvment or enhanced information: If you have multiple usings, the "extern alias lib1;"-line must be the very first of those usings (But also MS VS informs you about that).

提交回复
热议问题