The file '<file>' is no longer connected to this source code control project.

This error has the following cause and solution:

The file has possibly been deleted from the source code control provider, or moved to a different project. Use the Add Files command to add the file to your source code control provider in the proper project, or search the source code control database for the file if it may be part of another.