PRB: Can't Map File to the Project '$' Message in Dev Studio

Last reviewed: February 25, 1997
Article ID: Q154400
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 5.0

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.


KBCategory: kbprg kbprb
KBSubcategory: ssvc
Additional reference words: 4.00 5.00 visual c++




THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.