Visual Studio 2013与Web Essentials一起崩溃

时间:2014-03-20 16:31:38

标签: visual-studio-2013 web-essentials

我已将Typescript + Web Essentials集成到我的项目中,到目前为止我已与VS 2012合作。

我遇到了没有在保存时编译的打字稿问题,我根据this question编辑了我的csproj,这解决了我的问题。

前几天我安装了VS2013,安装了Web Essentials 2013,从那时起每次加载我的解决方案VS2013崩溃。   如果我卸载Web Essentials,一切正常。

我尝试将我编辑过的文本删除到csproj中,但无济于事。

这是我从崩溃中获得的问题细节:

  Problem Event Name:   CLR20r3
  Problem Signature 01: devenv.exe
  Problem Signature 02: 12.0.30110.0
  Problem Signature 03: 52cfb65a
  Problem Signature 04: Microsoft.VisualStudio.Platform.VSEditor
  Problem Signature 05: 12.0.21005.1
  Problem Signature 06: 524fcbc8
  Problem Signature 07: 2e6
  Problem Signature 08: 19
  Problem Signature 09: System.NullReferenceException
  OS Version:   6.1.7601.2.1.0.256.4
  Locale ID:    1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

对如何解决此问题不太了解。

编辑:我注意到只有在我打开.ts文件时才会发生崩溃。解决方案保持insta-crashing,因为已经打开了.ts文件。我禁用了Web Essentials,关闭了它们,启用了WE,然后在没有崩溃的情况下打开了解决方案。然后打开.ts文件触发了崩溃。

这是堆栈跟踪:

>   Microsoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Utilities.Implementation.ContentTypeRegistryImpl.GetContentType(string typeName)    Unknown
    WebEssentials2013.dll!MadsKristensen.EditorExtensions.Margin.TextViewMargin.CreateTextViewHost(string contentType)  Unknown
    WebEssentials2013.dll!MadsKristensen.EditorExtensions.Margin.TextViewMargin.CreatePreviewControl(double width)  Unknown
    WebEssentials2013.dll!MadsKristensen.EditorExtensions.MarginBase.CreateMarginControls() Unknown
    WebEssentials2013.dll!MadsKristensen.EditorExtensions.CompilingMarginBase.CreateMarginControls()    Unknown
    WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)  Unknown
    WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown
    WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl()   Unknown
    WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state)  Unknown

mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke()   Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue()  Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)  Unknown
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)  Unknown
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs)   Unknown
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam)  Unknown

1 个答案:

答案 0 :(得分:0)

对于任何寻求者 - 安装VS 2013 Update 2,它不会再崩溃。