C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...







Integrating source control with Visual Studio



This chapter explains the Visual Studion integration of source control systems.



Most of the popular source control systems can be integrated with Visual Studio. This means you will never have to open the source control client software to checkin or checkout files. Instead, you can do it from the Visual Studio itself.

When you start changing a file in Visual Studio, it will automatically checkout the file and copy the latest version to your folder. Depending on your settings, it may or may not prompt you before you checkout a file through Visual Studio.

Also, after you have completed all the changes you want to do, you can checkin the file directly from Visual Studio. You can either right click on a specific file in solution explorer and choose 'Checkin' (to checkin a single file) or right click on the project name itself and select 'Checkin' (to checkin all files in the project).

However, to make this checkin and checkout work from Visual Studio, you must "bind" your project to a source control database. The File menu in Visual Studio have a menu item called 'Change Source Control'. This will allow you bind your project to a source control database. Only after you do this step, the checkin/checkout process will work. Before you bind a project, your administrator must have created the source control database and you should know the location of it.

In a later chapter, we will show you how to create a new project in Visual Studio and how to bind it to a source control database.

  • Next Chapter: Introduction to Visual Source Safe

  • Previous Chapter: Version control and file history

  • Tutorial Index



  • dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use