mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
-reconfigured solution and projects to be correct debug/release and files copy properly
-started working on more advanced statistics
This commit is contained in:
@ -24,9 +24,9 @@ namespace SharedLibrary.Plugins
|
||||
ICollection<Assembly> assemblies = new List<Assembly>(dllFileNames.Length);
|
||||
foreach (string dllFile in dllFileNames)
|
||||
{
|
||||
byte[] rawDLL = File.ReadAllBytes(dllFile);
|
||||
Assembly assembly = Assembly.Load(rawDLL);
|
||||
assemblies.Add(assembly);
|
||||
// byte[] rawDLL = File.ReadAllBytes(dllFile);
|
||||
//Assembly assembly = Assembly.Load(rawDLL);
|
||||
assemblies.Add(Assembly.LoadFrom(dllFile));
|
||||
}
|
||||
|
||||
int LoadedPlugins = 0;
|
||||
|
Reference in New Issue
Block a user