So here is my problem.
You can use an extern alias to alias one of the assemblies to prevent the ambiguity.