Duplicated DLL in the "Detected Dependencies" folder

dependencies, deployment, visual-studio

Solution

The thread in this link on MSDN discusses a similar problem and offers a few suggestions.

Problem

In my solution I have to project using the same references (AxInterop.QTOControlLib.dll, Interop.QTOControlLib.dll and Interop.QTOLibrary.dll). My problem is that in my deployement project, these dependencies appear twice in the "Detected Dependencies" folder, thus lead to several warning like : Warning 1 Two or more objects have the same target location ('[targetdir]\interop.qtocontrollib.dll') C:\xxx\xxx\xxxx.vdproj How can I get rid of that?

Original source