Partager via


How to: Remove Files from a Source-Controlled Project

You can remove individual files from source control if you no longer want them to be part of your source-controlled project. You might do this, for example, if a program or form becomes obsolete and is no longer part of your project

To remove a file from source control

  1. In the Project Manager Window, select the file to remove.

  2. From the Project menu, choose Source Control, and then choose Remove Files from Source Control.

  3. In the Remove Files from Source Control Dialog Box, select the files to remove, and then click OK.

If you remove a file from a Visual FoxPro project that's under source control, Visual FoxPro prompts you whether you want only to remove the file from the project or to delete it from disk. A setting in the Options dialog box determines whether Visual FoxPro also prompts you to remove the file from the source-controlled project.

  • If Remove files from source control upon removal from project is checked, Visual FoxPro also prompts you to remove the file from the source-controlled project.

  • If Remove files from source control upon removal from project isn't checked, you're not prompted, and the file is left under source control.

After a file has been removed from source code control, copies of it might still exist on other developers' computers. If so, the file is treated as a local file only for those developers.

See Also

Tasks

How to: Detach a Project from Source Control

How to: Share Files Between Source-Controlled Projects

Concepts

Managing Visual FoxPro Projects Under Source Control

Other Resources

Planning for Team Development Projects