File Placement in the Source Code Control System

When you add a file to your source code control system, the source code control system manages access to the file and maintains a record of all changes to the file. It also records when a file was changed and by whom. In Platform Builder, you can place entire projects, individual files, or workspace files in the source code control system.

Platform Builder workspace (.pbw) files contain information about the workspace and track changes to files, such as the location of files, additions of files to projects, and the locations of the files in the source code control system. After changing any of these elements, you must check out, update, and check in the .pbw file.

You can add a project or platform to your source code control system any time after you create the project or platform. You cannot check in platform features.

You can set Platform Builder options so that each time you insert files into your project, Platform Builder automatically prompts for confirmation to include the files in the source code control system. You can also choose to put files in the system explicitly. You cannot check in features.

If some or all of the files currently included in your project are not in the source code control system, you can add them individually to the source code control system.

Files listed in the External Dependencies folder in the FileView window are not part of the project; however, these files are required to build the project. These files do not show up in any source code control dialog boxes until you add them to the project. To add a file to the project, drag it from the External Dependencies folder to any of the project folders.

When you remove files from a project, you may first want to remove the files from source code control. Not all source code control systems allow individual users to remove files from a source code control system. Some systems require source code control administrators to remove them, and the administrator may need to use the source code control system's administrative application.

See Also

Adding a Project to a Source Code Control System | Adding a Platform to a Source Code Control System | Prompting for Confirmation to Include Inserted Files in a Source Code Control System | Including Individual Files in a Source Code Control System | Removing Individual Files from a Source Code Control System

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.