Attempts to address the issue of duplicate assembly .dlls being loaded via plugins

This commit is contained in:
Neil Dorin
2020-02-05 17:13:27 -07:00
parent af5699a0b0
commit d81bcfba9a
2 changed files with 62 additions and 22 deletions

View File

@@ -26,6 +26,11 @@ namespace PepperDash.Essentials.Core
/// </summary>
public static string FilePathPrefix { get; private set; }
/// <summary>
/// The file path prefix to the folder containing the running application files
/// </summary>
public static string ApplicationDirectoryPathPrefix { get; private set; }
/// <summary>
/// Returns the directory separator character based on the running OS
/// </summary>
@@ -51,6 +56,15 @@ namespace PepperDash.Essentials.Core
FilePathPrefix = prefix;
}
/// <summary>
/// Sets the file path prefix
/// </summary>
/// <param name="prefix"></param>
public static void SetApplicationDirectoryPathPrefix(string prefix)
{
ApplicationDirectoryPathPrefix = prefix;
}
static string _AssemblyVersion;
/// <summary>