diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index f75e424dbe8fa915b3b076e39aaf542d094c6509..e2cacbcbfb1a7917bb44d7943bee8f43ad75776a 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -192,12 +192,10 @@ namespace AutoTx private void StartupSummary() { var msg = "Startup Summary:\n\n------ RoboSharp ------\n"; var roboDll = System.Reflection.Assembly.GetAssembly(typeof(RoboCommand)).Location; - if (roboDll != null) { - var versionInfo = FileVersionInfo.GetVersionInfo(roboDll); - msg += " > DLL file: " + roboDll + "\n" + - " > DLL description: " + versionInfo.Comments + "\n" + - " > DLL version: " + versionInfo.FileVersion + "\n"; - } + var versionInfo = FileVersionInfo.GetVersionInfo(roboDll); + msg += " > DLL file: " + roboDll + "\n" + + " > DLL description: " + versionInfo.Comments + "\n" + + " > DLL version: " + versionInfo.FileVersion + "\n"; msg += "\n------ Loaded status flags ------\n" + _status.Summary() +