diff --git a/src/MigrationTools.Host/Services/DetectVersionService2.cs b/src/MigrationTools.Host/Services/DetectVersionService2.cs index 53db0f879..c1ef0fe3b 100644 --- a/src/MigrationTools.Host/Services/DetectVersionService2.cs +++ b/src/MigrationTools.Host/Services/DetectVersionService2.cs @@ -57,7 +57,7 @@ public bool IsNewLocalVersionAvailable { get { - return (IsPackageInstalled) ? (RunningVersion >= InstalledVersion) : false; + return (IsPackageInstalled) ? !(RunningVersion >= InstalledVersion) : false; } } @@ -109,7 +109,7 @@ private void InitialiseService() public static Version GetRunningVersion() { - Version assver = Assembly.GetEntryAssembly()?.GetName().Version; + Version assver = new Version(14, 0,0) ;// Assembly.GetEntryAssembly()?.GetName().Version; if (assver == null) { return new Version("0.0.0"); }