Using two DLLs with same name and same namespace

后端 未结 5 1689
面向向阳花
面向向阳花 2020-12-06 10:42

I have a project which needs to reference two DLLs with the same name. The DLLs are not strong named, have the same exact name.

I need to access some types within ea

5条回答
  •  借酒劲吻你
    2020-12-06 11:31

    When I came across this problem I created two different wrapper projects, each referencing different version of the dlls, and used the Costura.Fody nuget in order to embed the dlls into the wrapper projects and prevent clashes in builds.

提交回复
热议问题