From bed5642118384223846b2b4f3c283caa11702c2a Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 22 Jun 2018 11:16:49 +0200 Subject: [PATCH] Add version to title bar in debug builds --- ILSpy/MainWindow.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index ce70d43b9..b33c366f2 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -339,6 +339,9 @@ namespace ICSharpCode.ILSpy } Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() => OpenAssemblies(spySettings))); +#if DEBUG + this.Title = $"ILSpy {RevisionClass.FullVersion}"; +#endif } void OpenAssemblies(ILSpySettings spySettings)