Make sure to use the right assembly when getting the version

This commit is contained in:
2014-12-06 08:39:44 -05:00
parent 446bcaffb8
commit 1fafa48ff4

View File

@@ -28,7 +28,7 @@ namespace Common.Update
public static Version LocalVersion
{
get { return Assembly.GetExecutingAssembly().GetName().Version; }
get { return Assembly.GetEntryAssembly().GetName().Version; }
}
public static bool CheckForUpdate()