To add a file to the depot, you must perform two actions:
To open a file for add:
In the Solution Explorer, browse to the file you want to add.
If a file does not reside in the depot, its icon is marked with a blue question mark.
Right-click the file and select Mark for Add.
A P4VS dialog opens asking you to add the files to the Helix Server depot.
Click OK.
The file icon in Solution Explorer displays a red plus sign indicating that it is open for add.
In the Submit Files dialog, enter a description of the change and click Submit.
The new file is added to the depot.
If you add a file to a solution that is already under Helix Server control, you are prompted to put the new file under Helix Server control. If you enabled the Automatically add new files to Perforce option and disabled the Prompt for changelist when checking out or adding files option under Tools > Options > Source Control, the file is marked for add and placed in a changelist without any prompting. For more information about these options, see Setting P4VS preferences.
For more information, see Checking in files and working with changelists.