mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-06 16:25:01 +00:00
Attempts to address the issue of duplicate assembly .dlls being loaded via plugins
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user