Disable Git Integration in Visual Studio 2015 Forever

I use Android studio where I always work with Git, but in Visual Studio 2015 I work with VFS. The problem is that Visual Studio always connects to my Git repository. instead, Team Fundation Server. When I reconnect to VFS and select one of my solutions, Visual Studio reconnects to Git. Thus, VFS is useless.

I tried to solve this problem using the registry, like here: Question from: Matthew Kraus , but no luck.

I want to use only VFS in Visual Studio, Git can be removed permanently.

thanks

+7
git tfs visual-studio
source share
1 answer

The problem is resolved using this :

Here's how to disable the package that is responsible for loading Git version control support in Visual Studio. Use at your own risk!

  • Create a file called devenv.pkgundef and place it next to devenv.exe in Visual Studio Common7 \ IDE (you will need a height for this)

  • Add the following files to the file: [$RootKey$\Packages\{7fe30a77-37f9-4cf2-83dd-96b207028e1b}] [$RootKey$\SourceControlProviders\{11b8e6d7-c08b-4385-b321-321078cdd1f8}]

  • Close VS, if open, open the developer command prompt and enter devenv / updateconfiguration

  • Start VS, and voilla - Git doesn't support anymore!

To undo, delete the devenv.pkgundef file and run devenv / updateconfiguration again.

+11
source share

All Articles