string checkFile = @"Newtonsoft.Json.dll";
string path = Path.Combine(Environment.CurrentDirectory, "ExternalAssemblies");
string[] Files = Directory.GetFiles(path, "*.dll", SearchOption.AllDirectories);
bool check = false;
foreach(string name in Files) {
if(Path.GetFileName(name) == checkFile) check = true;
}
project.SendInfoToLog(check.ToString());