To check in files from Visual Studio
About this task
Tip: Instead of using the procedures in Checking in from Visual Basic and Checking in from Visual J++, Visual C++, and Visual Studio .NET, you can set up Visual Studio to check in files
automatically when you close a project, solution, or workspace (see Setting up Visual Studio to check in files automatically).
Checking in from Visual Basic
About this task
Procedure
- Click .
- The Check In Files to VersionVault window lists all VB project files currently checked out. Select files to check in.
- In the Comment field, append to the comments you entered when you checked out the files. Comments are displayed in the Properties Browser and the History Browser.
-
Use any of the following commands in the Check In Files to VersionVault window:
- . Prompts you to enter a different comment for each file you check in.
- . Creates a new version of a checked out file even if you have not modified it. The version will be identical to its predecessor. If you do not select this option, unmodified files are left checked out.
- Differences. Starts the Diff Merge or XML Diff Merge tool to display the differences between the currently selected file and its checked in predecessor.
- Keep checked out. Checks in files (which adds their modifications the VOB) and checks them out again.
- Click OK.
Checking in from Visual J++, Visual C++, and Visual Studio .NET
About this task
Procedure
- Select one or more files in Project Explorer or FileView. (If you set up Visual Studio to present files, you can skip this step.)
- In Visual Studio .NET, click
.
Otherwise, click .
The Check In Files window opens, with the files you chose in Step 1 selected. (If you set up Visual Studio to present files, the window displays all files in the project that can be checked in. You may select additional files from the list to check in.)
- In the Comment field, append comments to those you entered when you checked out the files. Comments are displayed in the Properties Browser and the History Browser.
-
Use any of the following commands in the Check In Files to VersionVault window:
- . Prompts you to enter a different comment for each file you check in.
In Visual Studio .NET, always set this option.
. This option preserves the platform modification time on the file rather than having it set to the time that you checked in the file.In Visual Studio .NET, you can get improved performance if you set this option.
. Creates a new version of a checked-out file even if you have not modified it. The
version will be identical to its predecessor. If you do not select this option, unmodified files are
left checked out. - Differences. Starts Diff Merge or XML Diff Merge to display the differences between the currently selected file and its checked in predecessor.
- Keep checked out. Checks in files (which adds their modifications the VOB) and checks them out again.
- Don't show any more checkin dialogs. In Visual J++, this option prevents the Check In Item(s) window from opening during future checkin operations. If you select this option, you cannot change default Visual Studio behavior for a given checkin operation.
- Click OK.
Setting up Visual Studio to check in files automatically
About this task
Change default Visual Studio behavior by making the following selections:
- In Visual Basic, in the Check in files when closing the VB project? area, choose Yes or Ask.
- In Visual J++, select Check in everything when closing the solution.
- In Visual Studio .NET and Visual C++, select Check in files when closing the workspace.