diff --git a/src/ParquetViewer/AboutBox.cs b/src/ParquetViewer/AboutBox.cs index 67d52d0..e64d164 100644 --- a/src/ParquetViewer/AboutBox.cs +++ b/src/ParquetViewer/AboutBox.cs @@ -6,12 +6,17 @@ namespace ParquetViewer { public partial class AboutBox : Form { +#if RELEASE_SELFCONTAINED + private bool _isSelfContainedExe = true; +#else + private bool _isSelfContainedExe = false; +#endif public AboutBox() { InitializeComponent(); this.Text = String.Format("About {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; - this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); + this.labelVersion.Text = String.Format("Version {0}{1}", AssemblyVersion, _isSelfContainedExe ? " SC" : string.Empty); this.labelCopyright.Text = AssemblyCopyright; this.labelCompanyName.Text = AssemblyCompany; this.textBoxDescription.Text = AssemblyDescription;