Microsoft KB Archive/154400

= PRB: Cannot Map File to the Project "$" Message in Dev Studio =

Article ID: 154400

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 5.0 Standard Edition

-



This article was previously published under Q154400



SYMPTOMS
When adding the files of a Visual C++ project to Source Code Control, you may get the error:

"Can't map file to the Project $"

This may be caused by a corrupt .mdp file in Developer Studio.



WORKAROUND
One solution is to remove the .mdp file and reopen the project using the .mak file. The following will recreate the .mdp file:
 * 1) From the File menu, choose Open Workspace.
 * 2) Choose Makefiles (*.mak) from the list files of type ComboBox.
 * 3) Select the appropriate makefile, and choose OK.

Add the project again. You should be able to see, select, and create projects in Visual SourceSafe from the Add SourceSafe Project dialog.



STATUS
This behavior is by design.



MORE INFORMATION
The .mdp file is a wrapper for the .mak file that contains Visual SourceSafe information about the project. Developer Studio can recreate this file, if needed.

Also, if any of the files from your project did manage to get put into the $/ project in Visual SourceSafe, they should be removed.

Additional query words: visual c++

Keywords: kbprb KB154400

-

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

© Microsoft Corporation. All rights reserved.