Change assembly used to get version and make sure to not delete old settings on upgrade

This commit is contained in:
2014-12-06 08:41:36 -05:00
parent 1f8d69867d
commit cd0113ff9c
2 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ namespace FeedCenter.Options
string version = UpdateCheck.LocalVersion.ToString();
versionLabel.Text = string.Format(Properties.Resources.Version, version);
companyLabel.Text = ((AssemblyCompanyAttribute) Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company;
companyLabel.Text = ((AssemblyCompanyAttribute) Assembly.GetEntryAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company;
}
public override bool ValidatePanel()