Article ID: 949476 - Last Review: February 20, 2008 - Revision: 1.1 Moving files between projects in Solution Explorer removes source control history, breaking merge capabilitiesSource: Microsoft Support RAPID PUBLISHINGRAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION. ActionYou have a Microsoft Visual Studio solution in Microsoft Team Foundation Server source control. The solution contains more than one project. You move a file from one project to another using the Visual Studio Solution Explorer. ResultThe moved file has only one source code control history item after the move: an "add" action. All previous history is gone. CauseThis occurs because the back-end source code control actions taken when the file is moved between solution projects in the Solution Explorer are a DELETE and an ADD. The DELETE action removes the source code control history from the file. If the file was branched, this removes the merge capabilities from the file as well, because the branch action history item was also deleted. ResolutionUse a combination of the Microsoft Visual Studio Source Control Explorer and the Solution Explorer to move files between projects in a solution, rather than just the Solution Explorer. To do this, first check in any changes and close the solution in Visual Studio, and then:
More InformationSteps To Reproduce
DISCLAIMERMICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS. |
|

Back to the top
