简体   繁体   English

如果解决方案目录中的“.git”,Visual Studio 2017 崩溃

[英]Visual Studio 2017 Crashes if `.git` in solution directory

Visual Studio 2017 Professional is crashing with git. Visual Studio 2017 Professional 因 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.例如,如果我将.git目录重命名为_.git ,Visual Studio 不会崩溃。 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 .我尝试通过将其设置为None来关闭Tools -> Options -> SourceControl -> Plug-in Selection No success.没有成功。

Any idea on what else could help solve this?关于还有什么可以帮助解决这个问题的任何想法?

The crash was associated with the TGit v5.1.3 Visual Studio plugin.崩溃与 TGit v5.1.3 Visual Studio 插件有关。 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.我仍然认为这与我的工作站与互联网断开连接有关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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