In my installer project i added few project outputs. When compiling the code, i am getting the warnings as

Warning 11 Two or more objects have the same target location ('[targetdir]\\bccrypto-net-1.0.dll')

To remove the warning, rightclick the dll and select the properties windows. In that set Exclude property value to true.(More than one class is trying to place the same dll in the Targetdir)

Now the warning is not shown. After saving the project, if i close the project and open it again.
Rebuild the solution. Again i got the same warning

Can any one please tell me how to remove the warning.

9 Years
Discussion Span
Last Post by Ramy Mahrous

That's surely because you select to output for example 2 or more .exe, which each of which depends on same dll, so windows installed get the 2 .exe + the depended dll, so it warns you about that, don't worry at all, your work is good

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.