解决方案Explorer按特定关键字过滤会导致崩溃

时间:2015-09-08 20:30:10

标签: visual-studio-2015 solution-explorer

解决方案资源管理器中的某些搜索导致Visual Studio崩溃:

filterchanged
filter
fil

其他搜索工作正常。我尝试重建解决方案,重置所有设置,删除.suo文件。

当我附加一个调试器(Visual Studio的新实例)时,Exception Helper说这是一个AggregateException - 根本没有帮助。我无法找到更多细节。

我可以做些什么来调试它?

1 个答案:

答案 0 :(得分:1)

我的项目存在同样的问题,除了关键词delete这似乎解决了我的问题:Visual Studio 2015 is crashing when searching from Solution Explorer

我也注意到它在/ SafeMode中工作正常。

问题专栏:

Public Event ObjectDeleted(ByVal aString As String)

解决方法是使用事件处理程序替换您的委托:

Public Delegate Sub MyEventHandler(ByVal s As String)

并使用如下:

Public Event test As MyEventHandler

我在这里向微软提交了一个错误: https://connect.microsoft.com/VisualStudio/feedback/details/2449669/visual-studio-crashes-when-you-type-delete-into-the-solution-explorer-search

还发现此错误: https://connect.microsoft.com/VisualStudio/feedback/details/1606999/vs-2015-professional-crash-when-searching-from-solution-explorer

希望这会有所帮助:)