-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Hello,
I'm not sure if this question should be here or on a Microsoft forum, sorry if I'm at the wrong place.
I'm trying to use Visual Studio (2013/2015) git features but it does not detect Git if I'm using PortableGit, even if I set up the environment variable correctly (exactly like after using the installer) : VS asks for installation of git tools.
It's important for me because it works at home where I have admin rights, but I can't install Git on my company computer.
My question is : what are the magic steps the installer does that make Visual Studio detects git if I'm using the installer but not PortableGit ?
I did some tests and here are my results :
- VS only works with 32 bits version of Git
- It does not matter where I install Git with the installer (even on another drive), VS will detect it.
- But if I'm using PortableGit, it never works. Even with the PATH set up exactly like after using the installer (to the cmd subfolder & same position in the PATH variable, "echo %path%" gives the same output)
- Even if I rename "PortableGit" folder to "Git", it does not work.
I'm using Windows 10 (64 bits) for these tests but I use Windows 7 (64 bits) at work.
Thanks for reading