From 780ec0aa4b937bfe77e93cde046865f415967dd8 Mon Sep 17 00:00:00 2001 From: Trevor Payne Date: Wed, 17 Aug 2022 13:22:48 -0500 Subject: [PATCH] fix: Check for local version --- .../PepperDashEssentialsBase/Global/Global.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Global/Global.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Global/Global.cs index cba66780..32828cb6 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Global/Global.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Global/Global.cs @@ -125,6 +125,12 @@ namespace PepperDash.Essentials.Core public static bool IsRunningDevelopmentVersion(List developmentVersions, string minimumVersion) { + if (Regex.Match(AssemblyVersion, @"^(\d*).(\d*).(\d*).*").Groups[1].Value == "0") + { + Debug.Console(2, "Running Local Build. Bypassing Dependency Check."); + return true; + } + if (developmentVersions == null) { Debug.Console(0,