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:
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...
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.
只需从项目根文件夹和子文件夹中删除所有 .git 基本文件,重启解决方案和项目后,您将获得 git free 项目
In Visual Studio 2017, open a connected project or solution then select:
It seems the only way to do this is manually removing files. This answer worked for me:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.