AnkhSVN在Visual Studio 2017中崩溃

Con*_*rad 5 ankhsvn exception visual-studio-2017

[W10 Pro x64 v1709,Visual Studio 2017社区15.6.0,AnkhSVN 2.7.12815.35086]

我在VS 2017的VS初创公司AnkhSVN遇到了崩溃.我相信这才刚刚开始发生 - 我不记得最后一次打开IDE时发生了什么.卸载/重新安装扩展程序没有帮助.尝试打开Pending Changes窗口时出现错误消息:

AnkhSVN异常
发生内部错误:
对象引用未设置为对象的实例.

堆栈跟踪:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Ankh.UI.PendingChanges.PendingChangesToolControl.OnLoad(EventArgs e)
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at Ankh.VSPackage.AnkhToolWindowPane.get_Window()
   at Microsoft.VisualStudio.Shell.Package.ToolWindowCreationResult..ctor(WindowPane window, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags, Object context, Guid persistenceGuid)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, Object context)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Ankh.VSPackage.AnkhSvnPackage.ShowToolWindow(AnkhToolWindow toolWindow, Int32 id, Boolean create)
   at Ankh.VSPackage.AnkhSvnPackage.ShowToolWindow(AnkhToolWindow window)
   at Ankh.Commands.UI.ShowToolWindows.OnExecute(CommandEventArgs e)
   at Ankh.Commands.CommandMapItem.OnExecute(CommandEventArgs e)
   at Ankh.Commands.CommandMapper.Execute(AnkhCommand command, CommandEventArgs e)
Run Code Online (Sandbox Code Playgroud)

故障排除/维修建议?

小智 7

这似乎是Visual Studio 2017 15.6版本中引入的一个问题 - 我在Visual Studio 2017 Professional v15.6中看到了同样的问题.

这里有一个未解决的问题:https : //developercommunity.visualstudio.com/content/problem/207735/ankhsvn-2712815-failed-to-load-pending-changes-vie.html,标记为正在调查中.我看到有58人正在关注这个问题,所以希望它会得到一些牵引力并很快得到解决.

  • 关于这个问题的更新:微软已经承认了这个问题,并表示Visual Studio将在即将发布的版本中修复. (2认同)