PRB: Cannot Check In Changes When You Rebind Only the Solution File (317659)



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
    • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q317659

SYMPTOMS

If you try to rebind only the solution file that originally contained a project, and if you do not rebind the project, you cannot check in changes. The file is left in a state of pending check in.

NOTE: This problem may also occur with multiple projects and files.

CAUSE

The solution file, which is still under source control, references a valid project that is also still under source control. This occurs, even though the project is unbound.

RESOLUTION

To resolve this problem, use one of the following methods:
  • If you want to keep the project, rebind both the solution and the project.

    -or-
  • If you do not want to keep the project and its history, delete and remove the project from the Visual SourceSafe explorer, and then rebind the solution.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a database project in the Visual Studio .NET integrated development environment (IDE).
  2. Add the solution file to source control.
  3. Unbind the solution. On the File menu, click Source Control, and then click Change Source Control.
  4. Use the Change Source Control dialog box to rebind only the solution.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

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


Modification Type:MinorLast Reviewed:5/26/2005
Keywords:kbprb KB317659