PRB: Unable to Read the Project File Error When Using "Open From Source Control" Within the Visual Studio .NET IDE (304966)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition

This article was previously published under Q304966

SYMPTOMS

When you try to use Open from Source Control within the Visual Studio .NET integrated development environment (IDE), you receive the following error message:
Unable to read the project file '<file name>'. The system can not find the file specified.

CAUSE

This error message appears when a user is attempting to open a file through the Open from Source Control menu command and the file has not been added to source control through the Visual Studio IDE.

RESOLUTION

To resolve this error, do the following:
  1. Copy the files from the Visual SourceSafe database to your local computer.
  2. Open the .sln file and all subprojects.
  3. From the File menu, click Source Control, and then click change source control. Rebind the project to the location you originally downloaded the project from in the source code control (SCC) database.

STATUS

This behavior is by design.

REFERENCES

For additional information on how to bind a project to its SCC Provider, click the article number below to view the article in the Microsoft Knowledge Base:

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


Modification Type:MajorLast Reviewed:1/17/2002
Keywords:kbDSupport kbprb KB304966 kbAudDeveloper