Share this page

# Move files and folders between projects

This topic provides guidelines for moving files and folders in the Visual Studio IDE.

When you move files and folders between projects in Visual Studio, file history is preserved. However, certain scenarios may result in unexpected behavior.

Review the following considerations before moving files and folders:

Scenario | Result
--- | ---
Moving a controlled file to a location where a controlled file with same name already exists. | Visual Studio prompts you to overwrite this file. This replaces the file in the target location with the original file delivery as a deletion from the source project and a modification of an existing file in the target project.
Moving a controlled file to a location where an uncontrolled file with the same name already exists. | Visual Studio prompts you to overwrite this file. Overwriting replaces the file in the target location with the original file addition during delivery.
Moving a controlled folder to a location where a controlled folder with the same name already exists. | Visual Studio prompts you to merge folders. Do not attempt to merge folders in this way. Click No or Cancel. Because the source and target folders may contain hidden folders that contain OpenText Dimensions CM metadata, such a merge operation can lead to unpredictable conflicts when delivering these changes.
Moving a controlled file to a location where a file of the same name has been deleted but not yet delivered. | A warning is displayed, and the original file is moved to the target location. This is interpreted during delivery as a modification of the target file, and a removal from of the original file. To avoid this situation, deliver pending deletions before moving files.
Moving a controlled folder to a location where the target folder has been deleted but not yet delivered. | A warning is displayed, and the source folder is moved to the target location. During delivery, all moved content is marked as uncontrolled to minimize conflicts. Potential conflicts may result from delivering files in this scenario. To avoid conflicts, deliver all pending deletions before moving folders.

In some circumstances, the file and folder information displayed after synchronization, so not reflect the correct status. In such cases, close the solution and reopen it from disk.

Back to top

See also:

- Synchronize OpenText Dimensions CM projects

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... OpenText™ Dimensions CM Help Center OpenText™ Dimensions CM Help 25.2 All View Local Help Center View Online Help Center Version: