fix: Add simple null check
This commit is contained in:
1 parent
92e4b0a793
commit
d366ccc9c9
1 file changed
+2
-1
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
|
||||
//using BCG.Utilities.BlueConfiguration;
|
||||
//using BCG.Utilities;
|
||||
@@ -27,7 +28,7 @@ namespace BCG
|
||||
currentDomain.AssemblyResolve += new ResolveEventHandler(myAssemblyResolver);
|
||||
loadAssembly (this.GetType ().Assembly.FullName);
|
||||
|
||||
foreach (string assemblyName in config.loadedAssemblies)
|
||||
foreach (string assemblyName in config.loadedAssemblies.empty_if_null())
|
||||
{
|
||||
string resolvedAssemblyPath = assemblyName;
|
||||
if (!System.IO.Path.IsPathRooted(assemblyName))
|
||||
|
||||
Reference in new issue
Block a user