mirror of
https://github.com/ckaczor/Common.git
synced 2026-01-13 17:22:40 -05:00
Make sure to use the right assembly when getting the version
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Common.Update
|
|||||||
|
|
||||||
public static Version LocalVersion
|
public static Version LocalVersion
|
||||||
{
|
{
|
||||||
get { return Assembly.GetExecutingAssembly().GetName().Version; }
|
get { return Assembly.GetEntryAssembly().GetName().Version; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool CheckForUpdate()
|
public static bool CheckForUpdate()
|
||||||
|
|||||||
Reference in New Issue
Block a user