update
This commit is contained in:
parent
6976bc645e
commit
8a50a5eb81
@ -74,6 +74,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
public static IEnumerable<Assembly> GetAssembliesFromFolder(string folderPath)
|
||||
{
|
||||
var directory = new DirectoryInfo(folderPath);
|
||||
if (!directory.Exists) return Enumerable.Empty<Assembly>();
|
||||
|
||||
var files = directory.GetFiles("*.dll");
|
||||
|
||||
var assemblies = new List<Assembly>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user