I am running 2013 update 5 on Windows 10 Build 1709. I inherited a WIN81 Store App project that was fine until a month ago. Since then it crashes any time I open a XAML file, either just XAML or in the Designer. The XAML will display, but then VS crashes
about 5-10 seconds later. The Designer never manages to load before crashing. And it doesn't matter which XAML file I pick in the project, they all do it. I have no idea what changed on my system a month ago. Corporate IT does forced/controlled updates, but
I don't recall doing anything to it.
What is weird is that my other project (not a Store App) works just fine.
I can edit and build my C# files fine. I do get lots of crashes trying to Find All References for a property, but no issues with methods. I suspect that's because it's searching XAML files.
I looked in the Windows Event Viewer and got the following stack trace (see below). All the crashes are the same.
I'm at my wit's end trying to get this project back to normal. I've tried to repair Visual Studio, and they tried an uninstall/reinstall with no joy. I've burned endless hours google'ing and trying other stuff to no avail. Any/all help would be appreciated.
EDIT: I just installed a fresh copy of VS2013 w/ Update 5 on my personal desktop PC (WIN10, Build 1903) and then copied my project files from my work laptop to the my personal desktop. It displays XAML files and the Designer fine. Easy peasy. Works perfectly.
So what is hosed up in my environment on my work laptop and how can I fix it as an uninstall/reinstall didn't help.
Garry
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at Microsoft.Expression.Utility.OSHelper+NativeMethods.GetTokenInformation(IntPtr, TOKEN_INFORMATION_CLASS, IntPtr, UInt32, UInt32 ByRef)
at Microsoft.Expression.Utility.OSHelper.GetTokenInformation(TOKEN_INFORMATION_CLASS)
at Microsoft.Expression.Utility.OSHelper.CalculateIsRunningElevated()
at System.Lazy`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue()
at System.Lazy`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].LazyInitValue()
at System.Lazy`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Value()
at Microsoft.Expression.HostUtility.AppPackage.WrtUtility.ActivateApplication(System.String, System.String, System.Object)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.ActivateApplicationInternal(System.String, System.String, System.Object)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(System.String, System.String, System.Uri, System.Collections.IDictionary, Int32 ByRef, System.Object ByRef)
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory+ProcessIsolationDomain..ctor(Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory, Microsoft.Expression.DesignHost.Isolation.IIsolationBoundary,
System.AppDomainSetup,