Fixed minor bug in UpdateAssemblyInfo - thx xylographe :)

This commit is contained in:
niksedk 2015-08-28 06:17:58 +02:00
parent c36daffe0b
commit a81c299689

View File

@ -54,8 +54,8 @@ namespace UpdateAssemblyInfo
if (end > begin && begin > 0)
{
begin++;
string oldVersion = original.Substring(begin, end - begin);
if (oldVersion != versionInfo.Version)
string oldRevisionGuid = original.Substring(begin, end - begin);
if (oldRevisionGuid != versionInfo.RevisionGuid)
{
change = true;
original = original.Substring(0, begin) + versionInfo.RevisionGuid + original.Remove(0, end);