Microsoft KB Archive/317925

= FIX: Location files are checked out from the original project after you branch and change the binding =

Article ID: 317925

Article Last Modified on 8/24/2005

-

APPLIES TO

 Microsoft Visual SourceSafe 6.0C, when used with:  Microsoft Visual Studio .NET 2002 Professional Edition

 Microsoft Visual Studio .NET 2002 Enterprise Architect

 Microsoft Visual Studio .NET 2002 Enterprise Developer 

-

<div class="notice_section">

This article was previously published under Q317925

<div class="symptoms_section">

SYMPTOMS
After you branch a project and change the binding to the new project, location files are checked out from the original project location.

<div class="cause_section">

CAUSE
The solution file is not saved automatically when the change connection occurs.

<div class="resolution_section">

RESOLUTION
To resolve this behavior, after the change connection is completed (you must check out the solution during the operation), select the solution node in Solution Explorer, and then click Save.

Note Do not use Save All; you must save the solution file explicitly.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio .NET 2003.

<div class="moreinformation_section">

Steps to Reproduce Behavior

 * 1) Create an empty solution and then add the solution to source control.
 * 2) Add an empty Visual Basic project on a different drive or above the root folder of the solution.
 * 3) Select and add the project to source control in a different SourceSafe Project folder than where the solution is located. Make sure that you check in all the files.
 * 4) In the Visual SourceSafe Explorer, share and branch the project folder in SourceSafe.
 * 5) In the IDE of the open solution, on the File menu, click Source Control, and then click Change Source Control.
 * 6) Change the project's source control location to the new branch:

Click OK on the dialog box, and then click OK to check out the solution.
 * 1) Check in the solution.
 * 2) Close and reopen the solution.
 * 3) On the File menu, click Source Control, and then click Change Source Control. The target of the project is the original location of the project.

This behavior recurs if you do change connection for any number of projects (in a solution) that have connections that are separate from solution source control and that are added to a separate SourceSafe folder, and you make no other changes to the solution.

For example, in the following situations:
 * When the solution itself is not controlled.
 * For file share Web projects.
 * When projects are not located on the same drive as the solution.
 * When projects are added to source control separately from the solution to a different SourceSafe location.

Keywords: kbbug kbfix kbpending kbvs2002sp1sweep KB317925

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.