fix: Check for local version

This commit is contained in:
Trevor Payne
2022-08-17 13:22:48 -05:00
parent c2deaf9534
commit 780ec0aa4b

View File

@@ -125,6 +125,12 @@ namespace PepperDash.Essentials.Core
public static bool IsRunningDevelopmentVersion(List<string> 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,