This project is read-only.


Installing killed VS2012


After installing TypeScript on Visual Studio 2012 11.0.60315.01 Update 2, when starting VS it showed as a window with black background and no controls. No errors either.

When starting VS in safe mode, it threw this:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
   at Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.ShouldSynchronizeActivation()
   at Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.HandleRestoreFocusCore()
   at Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.HandleRestoreFocus()
   at Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.HwndSource_MessageHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Using the "repair" option of the VS installer didn't fix the issue. I had to uninstall and then install VS from scratch.

Honestly, this looks more like an issue with VS rather than TypeScript, but I thought I'd report it just in case.
Closed Jul 25, 2013 at 8:37 PM by danquirk
Could you re-open with some additional info? What OS? VS SKU? Is there anything in the Visual Studio activity log? Were you upgrading from a previous Typescript install?