mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Attempts to address the issue of duplicate assembly .dlls being loaded via plugins
This commit is contained in:
parent
af5699a0b0
commit
d81bcfba9a
2 changed files with 62 additions and 22 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue