在解决方案之间切换时Visual Studio 2010错误

时间:2014-02-06 17:39:31

标签: vb.net visual-studio-2010

我正在研究两种解决方案。两者都是基于VB.NET的WinForm。当我通过一个项目对另一个项目进行更改后从9个项目切换到解决方案时,我会弹出一个告诉我VS 2010遇到问题。我以管理员身份运行devenv.exe并打开了/ log选项来创建ActivityLog.XML文件。一个条目显示似乎指向VS扩展,但对我没有太大帮助:

  <entry>
    <record>386</record>
    <time>2014/02/06 17:29:28.017</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidOperationException: Requesting a text view host when we 
      don&apos;t have one available.  Current state: Closed&#x000D;&#x000A;   at 
      Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.get_WpfTextViewHost()
      &#x000D;&#x000A;   at 
      Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.HandleVerticalScroll()
      &#x000D;&#x000A;   at 
      Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.View_LayoutChanged(Object 
      sender, TextViewLayoutChangedEventArgs e)&#x000D;&#x000A;   at 
      Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, 
      EventHandler`1 eventHandlers, TArgs args)</description>
  </entry>

我认为我从文章Visual Studio 2010 Crashing on Solution Load中找到了解决方法。不幸的是,我不知道我创建的任何虚假代码片段可能导致这种情况。

非常感谢任何帮助。

0 个答案:

没有答案