Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unbind Source Control for Solution or Project VS 2017

Tags:

Is there a way in Visual Studio 2017 to unbind a solution or project from source control? I can only find answers to this question for older versions which suggest going into File > Source Control however it appears the Source Control option has been removed in this version.

For older versions:

2010,2008,2005

like image 717
Cassova Avatar asked Sep 01 '17 07:09

Cassova


2 Answers

In VS2017 (checked in versions 15.8.9 & 15.9.10) and VS2019 (16.5.4), goto:

Tools / Options / Source Control / Plug-in Selection

In combo-box "Current source control plug-in:", change to "None" and click OK.

The project will close; just reopen it and that's all...

enter image description here

To reach the Plug-in Selection section in Options, you can also use the search box; just type "Plug-in" and click in "Source control -> Plug-in Selection". In combo-box "Current source control plug-in:", change to "None" and click OK.

enter image description here

like image 188
Ignotus Avatar answered Oct 23 '22 11:10

Ignotus


just remove all .git base files from project root folder and sub folder, after that restart solution and project you will get git free project

like image 20
Naimish Mungara Avatar answered Oct 23 '22 11:10

Naimish Mungara