Initial try for adding version number (git hash)

This commit is contained in:
nikse.dk 2014-02-03 19:20:14 +01:00
parent 21a2c0ce5d
commit 2626a0bde3
6 changed files with 87 additions and 71 deletions

Binary file not shown.

View File

@ -23,7 +23,7 @@ namespace Nikse.SubtitleEdit.Forms
string minorMinorVersion = string.Empty; string minorMinorVersion = string.Empty;
if (versionInfo.Length >= 3 && versionInfo[2] != "0") if (versionInfo.Length >= 3 && versionInfo[2] != "0")
minorMinorVersion = "." + versionInfo[2]; minorMinorVersion = "." + versionInfo[2];
labelProduct.Text = String.Format("{0} {1}.{2}{3} rev.{4}", _languageGeneral.Title, versionInfo[0], versionInfo[1], minorMinorVersion, versionInfo[3]); labelProduct.Text = String.Format("{0} {1}.{2}{3}, build {4}", _languageGeneral.Title, versionInfo[0], versionInfo[1], minorMinorVersion, Utilities.AssemblyDescription.Substring(0, 10)); //versionInfo[3]);
richTextBoxAbout1.Text = _language.AboutText1.TrimEnd() + Environment.NewLine + richTextBoxAbout1.Text = _language.AboutText1.TrimEnd() + Environment.NewLine +
Environment.NewLine + Environment.NewLine +
_languageGeneral.TranslatedBy.Trim(); _languageGeneral.TranslatedBy.Trim();

View File

@ -121,74 +121,72 @@
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAAK/INwWK6QAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAAK/INwWK6QAAAAlwSFlzAAAO
vwAADr8BOAVTJAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuNUmK/OAAAA+PSURBVHhe7Zv7 vgAADr4B6kKxwAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLj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dA6VF721NglYWnBB9nZbPOkBBoRe+h5/+MgRA0CWDTcnaxOzaEs/7SnWFntZNFRQ/xAhC4bH8B7nIdVh SYbnVTfaQVxzHyJHc6/qQ19RMI0XZIkbYvOyEA/h3fcc9Lq4GYjNwAxUE/JqL/wcK5j2EZLRznEUpdyr
hSY3gNCh/xQhMAg8KKFdopqLKx1pkYOoTT8oJ2WxZkhhBSdZLm5N3Ij38A4AIrDpQ4im1mJcuBlbOb7D 4dFWXgXXRVSkjucJFoKKLNe1OeHkY5PrvMOQQOQk74YAhCGIJbRr2iluVfI5YUTcj5SJSImoidTQj2fV
rB5nAsEJAT5oZgKCs8kQhWRJBA+jbhJVtZ83/NcWWRUlwoDJ+6Qs4GqPL1YmTgh4gNB+oVaLm47wB16M GzNI3bT//SY1CKJOMAQJ5IU2QxkeEcB4xBgfRTAIBeLP2eF9+1gRKqzGqg/9/7shGGR5PSIicj68qZ1I
RVUeKzYo2moZXT6pfvpkFreqPnklWVWuoy04vJfntdlK+36jT3ANrVd2HaG8xsDnsU74z07yS622oDAM QNSM8aMg159NVAjlyHXFS+ECRH80njyeDUFkT9i0dHI7uZ2g7ZRT/gtoD4EpsituXQAAAABJRU5ErkJg
ABDtNaI/wU2UlvIhlVGE+4r6Ygrjci7XYBztOSKFdqR+7RoL11CKQxCUQXnlfwRX/Y7w2ganrW9SSBTW gg==
5mxZn6MqQgJrxp7edkn7ijpjHSmL1cOvxooTWJN+qgT1BfkVifhyXwMroLIiOMFLtbrq+v8LS74ITCio
2dqLjNP5bCcCrx6B/wFoD4EpAyFndgAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
</root> </root>

View File

@ -1642,6 +1642,24 @@ namespace Nikse.SubtitleEdit.Logic
} }
} }
public static string AssemblyDescription
{
get
{
Assembly assy = Assembly.GetExecutingAssembly();
String assyName = assy.GetName().Name;
bool isdef = Attribute.IsDefined(assy, typeof(AssemblyDescriptionAttribute));
if (isdef)
{
Console.WriteLine(assyName);
AssemblyDescriptionAttribute adAttr = (AssemblyDescriptionAttribute)Attribute.GetCustomAttribute(assy, typeof(AssemblyDescriptionAttribute));
if (adAttr != null)
return adAttr.Description;
}
return null;
}
}
private static void AddExtension(StringBuilder sb, string extension) private static void AddExtension(StringBuilder sb, string extension)
{ {
if (!sb.ToString().ToLower().Contains("*" + extension.ToLower() + ";")) if (!sb.ToString().ToLower().Contains("*" + extension.ToLower() + ";"))

View File

@ -6,7 +6,7 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("Subtitle Edit")] [assembly: AssemblyTitle("Subtitle Edit")]
[assembly: AssemblyDescription("Subtitle Edit")] [assembly: AssemblyDescription("[GITHASH]")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Nikse")] [assembly: AssemblyCompany("Nikse")]
[assembly: AssemblyProduct("SubtitleEdit")] [assembly: AssemblyProduct("SubtitleEdit")]

View File

@ -1817,7 +1817,7 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PreBuildEvent>"$(ProjectDir)..\update_rev.bat"</PreBuildEvent> <PreBuildEvent>"$(ProjectDir)..\UpdateAssemblyDescription.exe" "$(ProjectDir)Properties\AssemblyInfo.cs.template" "$(ProjectDir)Properties\AssemblyInfo.cs"</PreBuildEvent>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>COPY /Y /V "$(ProjectDir)Dlls\Hunspellx86.dll" "$(TargetDir)" <PostBuildEvent>COPY /Y /V "$(ProjectDir)Dlls\Hunspellx86.dll" "$(TargetDir)"