FIX: You may lose data and may not receive a warning after you change the binding information for a project that is under source control (318346)



The information in this article applies to:

  • Microsoft Visual SourceSafe 6.0c, when used with:
    • Microsoft Visual Studio .NET (2002), Professional Edition
    • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
    • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition

This article was previously published under Q318346

SYMPTOMS

A user may lose data and may not receive a warning message if the user changes the binding information for an item under source control.

CAUSE

This problem occurs because some items in the new binding have different contents on the local disk than in the newly bound database.

RESOLUTION

Contact your administrator. The Get Latest Version command may be able to resolve this problem, but the user may continue to lose changes.

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.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. User 1 creates a solution, adds a file to the solution, and then adds the solution to source control.
  2. In Visual SourceSafe Explorer, share and branch the whole solution to another location.
  3. User 1 checks out the solution, makes a change, and then checks in the solution.
  4. User 2 creates a project in Visual SourceSafe.
  5. On the File menu, point to Source Control, and then click Change Source Control. Change the binding root to the new branched location.
  6. User 2 makes conflicting edits to the solution and then checks in the solution.
  7. User 1 unbinds the solution from the original location and then rebinds it to the new location through the Change Source Control dialog box.
  8. In Solution Explorer of the Microsoft Visual Studio .NET integrated development environment (IDE), right-click the solution, and then click Get Latest Version.

    NOTE: If Solution Explorer is not visible, click Solution Explorer on the View menu.

REFERENCES

For additional information about this problem, click the article numbers below to view the articles in the Microsoft Knowledge Base:

305106 HOWTO: SSAFE - Reconnect a Project to Source Control in Visual Studio .NET

318109 PRB: Changes Are Not Saved When You Bind Solution to Another Source Control Project


Modification Type:MinorLast Reviewed:8/29/2005
Keywords:kbvs2002sp1sweep kbfix kbbug kbnofix KB318346 kbAudDeveloper