【问题标题】:Visual Studio 2013 Keeps Crashing with Web EssentialsVisual Studio 2013 不断与 Web Essentials 崩溃
【发布时间】:2014-03-20 16:31:37
【问题描述】:

我已将 Typescript + Web Essentials 集成到我的项目中,到目前为止我一直在使用 VS 2012。

我在保存时遇到了 typescript 的问题,我根据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 文件时才会发生崩溃。由于已经打开了 .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

【问题讨论】:

标签: visual-studio-2013 web-essentials


【解决方案1】:

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

【讨论】:

  • 我以为你是这个意思,抱歉。我已经更新到更新 2。我卸载并重新安装,它比我预期的要快一点,但仍然慢很多。
  • @DeeMac 编辑了我的答案,我同意我不清楚要执行哪个更新。它仍然崩溃吗?
  • 遗憾的是,即使使用带有 Web Essentials 2013 的 VS 2013 Update 5,如果您曾经移动任何捆绑 xml 文件,或者 Odin 禁止删除一个文件,您将完全破坏 Web Essentials 捆绑/缩小的能力.您仍然可以看到上下文单击菜单,但它什么也不做,顶部菜单选项消失了。看起来这可能是一个有用的开发工具,但是...... :-(
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-02-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多