0

Visual Studio 10.0.40219.1 SP1 Rel を使用していますが、最近問題が発生し始めました。入力を開始するとすぐにマークアップを変更するために .aspx ページを開くと、ポップアップするエラー メッセージが表示されます。

「Visual Studio で例外が発生しました。これは拡張機能が原因である可能性があります。」

次に、/log トリガーを使用してエラーの詳細を確認し、ActivityLog.xml を確認できることがわかります。例外の後、入力を開始するとインテリセンスが機能しません

System.ArgumentOutOfRangeException: インデックスが範囲外でした。負ではなく、コレクションのサイズより小さくなければなりません。パラメータ名: System.Collections.Generic.List 1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection1.System.Collections.Generic.IList.get_Item(Int32 index) at Artem.VisualStudio.Outlining.OutliningTagger.CalculateChange(TextContentChangedEventArgs e) at System.ThrowHelper.ThrowArgumentOutOfRangeException() の index Artem.VisualStudio.Outlining.OutliningTagger.HandleBufferChanged(オブジェクト送信者、TextContentChangedEventArgs e) Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](オブジェクト送信者、EventHandler`1 eventHandlers、TArgs 引数)

System.Runtime.InteropServices.SEHException (0x80004005): 外部コンポーネントが例外をスローしました。Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec (Guid & pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut) で Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec (Guid & pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、 IntPtr pvaIn、IntPtr pvaOut) Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut) で Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup、 UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut) Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup、UInt32 nCmdID、0(KeyProcessor p, TextCompositionEventArgs args) Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c _DisplayClass1e`1.b__1a() で Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

「ソース」(ActivityLog.xml 内) の下で、どちらも「エディターまたはエディター拡張機能」と表示されます。

インストールしたすべての拡張機能を無効にしようとしましたが、違いはありません。私はWin7 64ビットマシンを使用しています。

レジストリ エントリの修正に関連する投稿をいくつか見ましたが、私のレジストリ エントリはすでに正確に表示されています。私は途方に暮れており、誰かが同様の問題を抱えていることを願っています。前もって感謝します!

4

1 に答える 1

0

問題の原因となっている拡張子は、エラー メッセージに示されています。

Artem.VisualStudio.Outlining.OutliningTagger

http://jsoutlining.codeplex.com/workitem/29965関連?

于 2012-08-30T17:48:30.377 に答える