Tuesday, January 6, 2009

Source (Version) Control Settings in Visual Studio IDE

Current post is on how to change source (version) control  settings in Visual Studio IDE.


Source (Version) control software is an essential tool in every software company. It not only keeps the track of the history, but also its version and copy of it.

Clearcase and SVN are most common source (version) control softwares available in market. Clearcase is a proprietary software from IBM while SVN is open-source software with good developer support.

When writing a code which will go into source control or when you want to edit something in a file which is in source control, we all do check-out and check-in operations.

Some times in hurry we check-out the file which were not meant for check-out, resulting in undo-check-out operation with version-branch-deletion of that file.

In order to avoid such things, Microsoft Visual Studio IDE (VS 2005, VS 2008) provides the source (version) control settings.

Go to Tools >> Options in Menu bar of Visual Studio IDE:

Visual Studio Source Control Settings
Source Control Settings
Click Source Control >> Environment

Check-Out Settings:

  1. On Save or On Edit:
    • Check Out Automatically or Prompt for Check out are the options available. Select as per your needs
    • "Don't show Check-Out dialog box while checking out the items":  
      • Un-Check the check-box, if you want to prevent above scenarios.
      • Check the check-box of if you are precised enough and don't want a headache of another prompt.

    Appreciate your feedback via comments. Thanks.

    No comments:

    Post a Comment

    Disclaimer:

    The above post and all the posts in the blog are derived from facts, information, logical interpretation and logical conclusion of printed and internet materials available to me, perceived and produced by 99 gm brain of mine, which by no means always be accurate, consistent and complete.

    All the posts are for personal quick reference only.

    If any suggestion, correction, misinterpretation, misconception commented, which will be moderated and deleted if required, to avoid unforeseen issues.

    If any trademark / copywrite issue is present, do send in a mail and appropriate tag (logo, name, website link) will be attached to the same.

    Additional disclaimer will be attached wherever required in the post.