简体   繁体   中英

Visual Studio 2017 Crashes if `.git` in solution directory

Visual Studio 2017 Professional is crashing with git. Even with an empty solution with no projects in it, it still crashes right after starting. If I rename the .git directory for example to _.git , visual studio doesn't crash. The workstation I'm on doesn't have access to the internet which I suspect could be associated.

After the crash, I've tried debugging it. There is one error but I can't be sure the error is related. system.ArgumentNullException: Value cannot be null. parameter name: path1

I've tried turning off Tools -> Options -> SourceControl -> Plug-in Selection by setting it to None . No success.

Any idea on what else could help solve this?

The crash was associated with the TGit v5.1.3 Visual Studio plugin. Disabling this plugin has prevented the crash but now the system hangs when the solution is first opened. I still believe this is related to my workstation being disconnected from the internet.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM