diff --git a/AuroraRecordGenerator/AuroraRecordGenerator.csproj b/AuroraRecordGenerator/AuroraRecordGenerator.csproj
index 4d01613..8f3d36b 100644
--- a/AuroraRecordGenerator/AuroraRecordGenerator.csproj
+++ b/AuroraRecordGenerator/AuroraRecordGenerator.csproj
@@ -16,7 +16,7 @@
true
- AnyCPU
+ x64
true
full
false
@@ -24,15 +24,17 @@
DEBUG;TRACE
prompt
4
+ false
- AnyCPU
+ x64
pdbonly
true
bin\Release\
TRACE
prompt
4
+ false
diff --git a/AuroraRecordGenerator/Properties/AssemblyInfo.cs b/AuroraRecordGenerator/Properties/AssemblyInfo.cs
index 217f1fa..44068a5 100644
--- a/AuroraRecordGenerator/Properties/AssemblyInfo.cs
+++ b/AuroraRecordGenerator/Properties/AssemblyInfo.cs
@@ -1,18 +1,16 @@
using System.Reflection;
-using System.Resources;
-using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("AuroraRecordGenerator")]
+[assembly: AssemblyTitle("Aurora Record Generator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AuroraRecordGenerator")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -51,5 +49,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/AuroraRecordGenerator/RecordEditor.xaml b/AuroraRecordGenerator/RecordEditor.xaml
index f368021..6e936a4 100644
--- a/AuroraRecordGenerator/RecordEditor.xaml
+++ b/AuroraRecordGenerator/RecordEditor.xaml
@@ -378,6 +378,7 @@
Width="75" d:LayoutOverrides="Height" Click="SaveContentAs" />
+
diff --git a/AuroraRecordGenerator/RecordEditor.xaml.cs b/AuroraRecordGenerator/RecordEditor.xaml.cs
index 7e27b01..ad8ab7f 100644
--- a/AuroraRecordGenerator/RecordEditor.xaml.cs
+++ b/AuroraRecordGenerator/RecordEditor.xaml.cs
@@ -25,6 +25,7 @@ namespace AuroraRecordGenerator
ProtoBuf.Serializer.PrepareSerializer();
InitializeComponent();
SubSpeciesCombo.ItemsSource = GetSpeciesOptions();
+ VersionLabel.Content = $"v{Utility.GetVersion()}";
}
private Record Data { get; set; }
diff --git a/AuroraRecordGenerator/Utility.cs b/AuroraRecordGenerator/Utility.cs
index 1de24d9..2d4f013 100644
--- a/AuroraRecordGenerator/Utility.cs
+++ b/AuroraRecordGenerator/Utility.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using System.Reflection;
using System.Text;
namespace AuroraRecordGenerator
@@ -67,6 +68,8 @@ namespace AuroraRecordGenerator
where attr != null && attr.NiceName == nicename
select item).FirstOrDefault();
}
+
+ public static Version GetVersion() => Assembly.GetExecutingAssembly().GetName().Version;
}
// From https://stackoverflow.com/questions/1799370/getting-attributes-of-enums-value