From 869f4a442152c3067af0d511ff4bc23fa963e475 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 27 Jan 2015 00:07:29 +0100 Subject: [PATCH] Make dev tools run on this machine. Not sure what's different about this machine, but the dev tools wasn't showing. Adding this line makes the window show at least. --- TestApplication/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestApplication/Program.cs b/TestApplication/Program.cs index f541da4202..4cc0d1f537 100644 --- a/TestApplication/Program.cs +++ b/TestApplication/Program.cs @@ -106,6 +106,10 @@ namespace TestApplication //LogManager.Enable(new TestLogger()); //LogManager.Instance.LogLayoutMessages = true; + // The version of ReactiveUI currently included is for WPF and so expects a WPF + // dispatcher. This makes sure it's initialized. + System.Windows.Threading.Dispatcher foo = System.Windows.Threading.Dispatcher.CurrentDispatcher; + App application = new App { DataTemplates = new DataTemplates