How to reference a namespace from a specific assembly?

前端 未结 2 1896
鱼传尺愫
鱼传尺愫 2020-12-25 12:23

So here is my problem.

  • My (test) project references both Castle Windsor and Rhino Mocks.
  • I am creating a class which implements Castle.Core.Intercept
2条回答
  •  轮回少年
    2020-12-25 12:53

    You can use an extern alias to alias one of the assemblies to prevent the ambiguity.

提交回复
热议问题