Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Two or more objects have the same target location '<location>' 

You are attempting to install two or more copies of the same file in the same folder. Only one copy can be installed; however, multiple copies can be placed in the same folder in the File System Editor provided that each has a unique condition.

To correct this error

  1. Double-click the error in the Task List to go to the file in the File System Editor.

  2. Delete the duplicate file, or select the Condition property in the Properties window for each copy of the file and enter a unique condition for each.


    If the Package files property for the project is set to As loose uncompressed files this error will still occur. You can correct this by adding a Custom folder and setting its DefaultLocation property to the same value as the first folder, then moving the second copy of the file to the new folder.

See Also

Community Additions

© 2015 Microsoft