【问题标题】:Solution Explorer filter by specific keywords causes crash [duplicate]解决方案资源管理器按特定关键字过滤导致崩溃[重复]
【发布时间】:2015-12-04 15:56:28
【问题描述】:

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

filterchanged
filter
fil

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

当我附加一个调试器(Visual Studio 的新实例)时,异常帮助器说这是一个 AggregateException——根本没有帮助。我无法找到更多详细信息。

我可以做些什么来调试这个?

【问题讨论】:

    标签: visual-studio-2015 solution-explorer


    【解决方案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

    我在这里向 Microsoft 提交了一个错误: 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

    希望这会有所帮助:)

    【讨论】:

    • 也许添加 /SafeMode 作为链接问题的答案,以及您的 Connect 票证的链接?
    • @MarianoC 还注意到 /SafeMode 在链接的问题中有效,我将其添加到我的连接票的解决方法中。我不确定在安全模式下运行 Visual Studio 是否可以解决这个问题
    猜你喜欢
    • 2015-10-22
    • 2014-02-04
    • 2010-10-07
    • 2019-06-13
    • 2011-02-04
    • 2012-11-24
    • 1970-01-01
    • 1970-01-01
    • 2013-11-20
    相关资源
    最近更新 更多