Visual studio 2010 当我开始键入.aspx文件时,VS2010异常就出现了

Visual studio 2010 当我开始键入.aspx文件时,VS2010异常就出现了,visual-studio-2010,exception,Visual Studio 2010,Exception,我正在使用VisualStudio10.0.40219.1SP1rel,我最近刚开始遇到问题。当我一开始输入就打开一个.aspx页面来更改任何标记时,会弹出一条错误消息,上面写着 “Visual Studio遇到异常。这可能是由扩展导致的。” 然后它告诉我,我可以使用/log触发器查看有关错误的更多详细信息,然后查看ActivityLog.xml。在异常之后,当我开始键入时,我的intellisense无法工作 System.ArgumentOutOfRangeException:索引超出范围。

我正在使用VisualStudio10.0.40219.1SP1rel,我最近刚开始遇到问题。当我一开始输入就打开一个.aspx页面来更改任何标记时,会弹出一条错误消息,上面写着

“Visual Studio遇到异常。这可能是由扩展导致的。”

然后它告诉我,我可以使用/log触发器查看有关错误的更多详细信息,然后查看ActivityLog.xml。在异常之后,当我开始键入时,我的intellisense无法工作 System.ArgumentOutOfRangeException:索引超出范围。必须为非负数且小于集合的大小。参数名称:System.Collections.Generic.List
1.System.Collections.ObjectModel.ReadOnlyCollection的index.ThrowHelper.throwargumentotofrangeexception()处的index.System.Collections.Generic.IList.get\u项(Int32索引)处的Artem.VisualStudio.outlineing.outlineingtager.CalculateChange在Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs]上的Artem.VisualStudio.Outlineing.OutlineingTagger.HandleBufferChanged(对象发送方,TextContentChangedEventArgs e)中的(TextContentDeventargs e)(对象发送方,EventHandler`1 eventHandlers,TArgs参数)

System.Runtime.InteropServices.SehexException(0x80004005):外部组件在Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid&pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut)在Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec处引发异常Microsoft.VisualStudio.Editor.Implementation.CommandFilterRapper.Exec(Guid&pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut)上的Microsoft.VisualStudio.Editor.Implementation.CommandFilterRapper.Exec(Guid&pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut)上的Microsoft.VisualStudio.Editor.Implementation.CommandFilterRapper.Exec(Guid&pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut)上的(Guid&pguidCmdGroup、UInt32 nCmdID、UInt32 nCmdexecopt、IntPtr pvaIn、IntPtr pvaOut)位于Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup、UInt32 cmdID、Object inParam)位于Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs)在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.b_0(KeyProcessor p,TextCompositionEventArgs args)在Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.c_DisplayClass1e`1.b_1a()在Microsoft.VisualStudio.Text.Utilities.GuardOperations.CallExtensionPoint(对象错误源,动作调用)

在“Source”(在ActivityLog.xml中)下,他们都说“编辑器或编辑器扩展”

我已经尝试禁用我安装的所有扩展,但没有任何区别。我在一台Win7 64位机器上


我看到过一些关于修复注册表项的帖子,但是我的注册表项看起来已经完全正确了。我不知所措,希望有人也有类似的问题。提前谢谢!

导致问题的扩展内容就在您的错误消息中:

Artem.VisualStudio.Outlining.OutliningTagger

相关?

您是否尝试过使用/ResetSettings或/SafeMode标志启动devenv.exe?参考:我尝试过/SafeMode开关,但似乎没有什么区别。我也尝试过/ResetSettings开关,但问题仍然存在:-(值得一试!这可能很有关系。这听起来像是同一个问题,我确实安装了一个JSOutlineing插件。我也禁用了它,然后卸载了它,但问题仍然存在。我现在安装的唯一扩展是企业库,但自从它安装以来工作得很好。你能有一个物理版本吗查看{VS2010\u INSTALL\u DIR}\Common7\IDE\Extensions文件夹?只是为了确保:在物理文件夹中DLooks ok:-),但在执行代码时,它仍然以某种方式加载到VS中:/