diff --git a/Runner/Helpers/RuntimeHelpers.cs b/Runner/Helpers/RuntimeHelpers.cs index b09b14d..8cff5b9 100644 --- a/Runner/Helpers/RuntimeHelpers.cs +++ b/Runner/Helpers/RuntimeHelpers.cs @@ -170,9 +170,10 @@ public static async Task CopyReleaseTestAssembliesAsync(JobBase job, string bran .Where(dir => Path.GetFileName(dir).StartsWith("net", StringComparison.OrdinalIgnoreCase)) .Single(); - string dllPath = Path.Combine(folder, $"{name}.dll"); - - File.Copy(dllPath, Path.Combine(destination, $"{name}.dll")); + foreach (string dll in Directory.GetFiles(folder, "*.dll")) + { + File.Copy(dll, Path.Combine(destination, Path.GetFileName(dll))); + } } }); }