visual studio 2013 打开 xsl 时崩溃

visual studio 2013 crash on opening xsl

每次我用 Visual Studio 2013 Update 4 打开 .xsl 文件时它都会崩溃。我收到以下错误消息。很没用。有什么建议么?

我在管理员安全上下文中运行ning VS (运行 as)。我这样做是为了在本地 IIS 7.5(而不是 VS 调试器/端口)上打开和调试。

我最近确实安装了 Azure 和 SSDT 扩展(VWDOrVs2013AzurePack.exe 和 SSDTSetup.exe)。后者未能正确安装。

错误如下。谢谢!

申请:devenv.exe 框架版本:v4.0.30319 说明:进程因未处理的异常而终止。 异常信息:System.Security.SecurityException 堆: 在 System.Security.CodeAccessSecurityEngine.Check(System.Object, System.Threading.StackCrawlMark ByRef, 布尔值) 在 System.Security.CodeAccessSecurityEngine.Check(System.Security.CodeAccessPermission, System.Threading.StackCrawlMark ByRef) 在 System.Security.CodeAccessPermission.Demand() 在 System.Reflection.RuntimeAssembly.VerifyCodeBaseDiscovery(System.String) 在 System.Reflection.RuntimeAssembly.GetName(布尔值) 在 System.Reflection.Assembly.GetName() 在 Microsoft.VisualStudio.Design.Toolbox.AutoToolboxManagerService.OnAssemblyLoadWorker(System.Reflection.Assembly) 在 Microsoft.VisualStudio.Design.Toolbox.AutoToolboxManagerService+<>c__DisplayClass2.b__0() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() 在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, 布尔值) 在 System.Threading.ExecutionContext.运行(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, 布尔值) 在 System.Threading.ExecutionContext.运行(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 在 System.Windows.Threading.DispatcherOperation.Invoke() 在 System.Windows.Threading.Dispatcher.ProcessQueue() 在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

Faulting application name: devenv.exe, version: 12.0.31101.0, time stamp: 0x54548724
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18839, time stamp: 0x553e88ab
Exception code: 0xe0434352
Fault offset: 0x0000c42d
Faulting process id: 0x2260
Faulting application start time: 0x01d09ec4b4de9874
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: dc09e38b-0ab8-11e5-9e99-10bf48466a8d

我解决了这个问题。我将 xsl 扩展重命名为 xml。我处理了文件。然后我会在测试前将它重命名回 xsl。我这样做了几个星期,也许一个月。

有一天我在重命名之前不小心打开了 xsl 文件。我想,"oh no! Its going to crash",但事实并非如此,从那以后我就再也没有遇到过这个问题。

如果非要我猜的话,我会说 VS 缓存了一些不好的东西。加班,我的编辑清除了缓存,一切都是粉红色的毛茸茸的独角兽再次在彩虹上跳舞。