|
|
|
@ -27,7 +27,7 @@ namespace Reflection
|
|
|
|
|
//permet d'accéder au dossier courant (ici l'endroit où se trouve l'exécutable)
|
|
|
|
|
WriteLine(System.IO.Directory.GetCurrentDirectory());
|
|
|
|
|
|
|
|
|
|
DirectoryInfo folder = new DirectoryInfo(Directory.GetCurrentDirectory().ToString()+"..\\..\\..\\plugin\\");
|
|
|
|
|
DirectoryInfo folder = new DirectoryInfo(Directory.GetCurrentDirectory().ToString()+"..\\..\\..\\plugin\\netcoreapp2.0\\");
|
|
|
|
|
FileInfo[] files = folder.GetFiles();
|
|
|
|
|
|
|
|
|
|
foreach (FileInfo file in files.Where(f => f.Extension.Equals(".dll")))
|
|
|
|
|