From 60731e01a8ef8a10c9331373e4bb69582eced821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Tue, 19 May 2020 14:32:39 +0200 Subject: [PATCH] Fixed program title by using entry assembly instead of executing assembly for app config data. --- SafeExamBrowser.Configuration/ConfigurationData/DataValues.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeExamBrowser.Configuration/ConfigurationData/DataValues.cs b/SafeExamBrowser.Configuration/ConfigurationData/DataValues.cs index bd22e713..46337086 100644 --- a/SafeExamBrowser.Configuration/ConfigurationData/DataValues.cs +++ b/SafeExamBrowser.Configuration/ConfigurationData/DataValues.cs @@ -34,7 +34,7 @@ namespace SafeExamBrowser.Configuration.ConfigurationData internal AppConfig InitializeAppConfig() { - var executable = Assembly.GetExecutingAssembly(); + var executable = Assembly.GetEntryAssembly(); var certificate = executable.Modules.First().GetSignerCertificate(); var programBuild = FileVersionInfo.GetVersionInfo(executable.Location).FileVersion; var programCopyright = executable.GetCustomAttribute().Copyright;