Enabling Add to Source Control Option for New Project Dialog in Visual Studio

Enabling Add to Source Control Option for New Project Dialog in Visual Studio

Add to source control option for New Project Dialog can be done from Options Dialogs. You can create a new Git repository at the same time we create the new project. In fact, not only Git Repository, you can also add the source code for Team Services as well. In the previous post – Create New Git Repository While Creating New Project in Visual Studio we have seen how to achieve the same.

Add to Source Control Option for New Project Dialog : Source Control Options
Source Control Options

 

Select Source Control Plugins

If you don’t see the checkbox for adding to source control – Git or Visual Studio Team Services, you can enable this from Options settings.
From the main menu, Tools -> Options and then navigate to Source Control option. Under the Plug-in Selection, you will find it is already set to “None”.

Add to Source Control Option for New Project Dialog : Plug-in Settings
Plug-in Settings

From the plug-in selection drop-down, you can choose either Git or Visual Studio Team Foundation Server. Visual Studio will enable the plugin for the specific source control accordingly.

Add to Source Control Option for New Project Dialog : Selecting Source Control Plug-in
Selecting Source Control Plug-in

Once you change the plugin option you can go back and check the new project dialog windows with reflected checkboxes for enabling source control during project creation.

Refer to the following snapshot for a quick difference between two different plugin option.

Add to Source Control Option for New Project Dialog : New Project Window with Different Plug-in Options

New Project Window with Different Plug-in OptionsHope this helps

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.