VS2012 装完插件后出的问题:遇到异常,可能是某个拓展导致

585

ERROR

System.InvalidCastException: 无法将类型为“System.__ComObject”的 COM
对象强制转换为接口类型“Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private”。此操作失败的原因是对
IID 为“{96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52}”的接口的 COM 组件调用 QueryInterface
因以下错误而失败: 不支持此接口 (异常来自 HRESULT:0x80004002 (E_NOINTERFACE))。 在
System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD,
IntPtr& ppTarget, Boolean& pfNeedsRelease) 在
Microsoft.VisualStudio.Editor.Implementation.IVsTextStreamEvents_Private.OnChangeStreamText(Int32
iPos, Int32 iOldLen, Int32 iNewLen, Int32 fLast) 在
Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.OnTextBufferChanged(Object
sender, TextContentChangedEventArgs e) 在
Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEventTArgs

Editor or Editor Extension

2013/07/27 07:53:38.534

http://www.tuicool.com/articles/MZnUvq/