
Checking Files Out and In
When you want to edit a file, you check the file out of the source control system. Checking out a file puts a read-write copy of it on your computer. When you are done editing, you check the file back into the source control system. To be able to check files out or in, you must be able to log into the source control system. For information about login credentials, contact your source code control administrator.
Visual Web Developer allows you to check files out explicitly or implicitly. For explicit checkout, you select the files to work with and issue an explicit command to check them out using the source control mechanism. For implicit checkout, you simply open a file in Visual Web Developer.
If the file has not been checked out, it is in read-only mode. When you make a change to the file, Visual Web Developer checks out the file so that you can save your changes. By default, Visual Web Developer does not prompt you before checking out the file. To enable prompts, click Tools, Options, Source Control, Environment, and then under Checked-in item behavior, select Prompt for check out in the list boxes beside On Save and On Edit. The default is Check out automatically.
You can configure Visual Web Developer not to perform implicit checkouts. Click Tools, Options, Source Control, Environment, and then under Checked-in item behavior, select Do nothing in the list boxes beside On Save and On Edit. In this case, files are opened in read-only mode. If you want to be able to save changes, you must first explicitly check out the file.