Managing Files

This chapter discusses how to manage files using P4VS.

Putting a project or solution under Perforce source control

P4VS requires that your work be included in a project or solution file.

To put existing projects or solutions solutions under Perforce source control:

  1. Make sure that your projector solution and all files included in it are in the workspace (your client directory) being used by your Perforce service connection.
  2. In Solution Explorer, select the project or solution that should be placed under source control.

    Follow the procedure described in Adding files to the depot.

To put new projects or solutions under Perforce source control:

  1. When you create a new project using the New Project page, select Add to Perforce SCM under the Browse button.
  2. When you click OK (and after you run any wizards), the Open Connection dialog appears.
  3. Enter your Perforce connection settings.

    Make sure that your project or solution files are in the workspace (your client directory) being used by your Perforce service connection.

  4. In Solution Explorer, select the project or solution.

    Follow the procedure described in Adding files to the depot.