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.

    Note

    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

Reference

Condition Property

Other Resources

File Installation Management in Deployment