To add files to source control from Visual Studio
About this task
You can change Visual Studio defaults to prompt you to add items to source control when you save them, or you can add files to HCL VersionVault control, as described in this topic.
Visual Studio windows present the files that it recommends you add to source control. In Visual Studio .NET, you have no control over which files are added to source control. For a list of Visual Studio file types, see the Visual Studio Help.
To preserve all of your source file data, you must also add projects to source control.
From Visual Basic
About this task
Procedure
- Click .
- In the Add to Source Control window, select one or more files.
- If you work on a UCM project, find and set your view to an activity.
- Click OK.
Results
By setting up Visual J++ and Visual C++ to prompt you
About this task
Procedure
- Set up Visual Studio to present files.
- Click .
- In the Add to Source Control window, select one or more files.
- To continue working on the file, select Checkout after adding to source control. Otherwise, clear Checkout after adding to source control to leave the file checked in.
- If you work on a UCM project, find and set your view to an activity.
- Click OK.
From Visual J++ Project Explorer or Visual C++ FileView
About this task
Procedure
- In Project Explorer or FileView, select one or more files.
- Click .
- To continue working on the file, select the Checkout after adding to source control check box. Otherwise, clear the check box to leave the file checked in.
- If you work on a UCM project, find and set your view to an activity.
- Click OK.