File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,17 @@ namespace ParquetViewer
6
6
{
7
7
public partial class AboutBox : Form
8
8
{
9
+ #if RELEASE_SELFCONTAINED
10
+ private bool _isSelfContainedExe = true ;
11
+ #else
12
+ private bool _isSelfContainedExe = false ;
13
+ #endif
9
14
public AboutBox ( )
10
15
{
11
16
InitializeComponent ( ) ;
12
17
this . Text = String . Format ( "About {0}" , AssemblyTitle ) ;
13
18
this . labelProductName . Text = AssemblyProduct ;
14
- this . labelVersion . Text = String . Format ( "Version {0}" , AssemblyVersion ) ;
19
+ this . labelVersion . Text = String . Format ( "Version {0}{1} " , AssemblyVersion , _isSelfContainedExe ? " SC" : string . Empty ) ;
15
20
this . labelCopyright . Text = AssemblyCopyright ;
16
21
this . labelCompanyName . Text = AssemblyCompany ;
17
22
this . textBoxDescription . Text = AssemblyDescription ;
You can’t perform that action at this time.
0 commit comments