Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,15 @@ private static string UnpackDebugRepro(string path, CancellationToken token)
List<string> referencePaths = [];
string? outputAssemblyPath = null;

// Create another subdirectory for all the input assemblies. We don't put these in the top level
// temporary folder so that the number of files there remains very small. The reason is just to
// make inspecting the resulting .dll easier, without having to scroll past hundreds of folders.
string assembliesDirectory = Path.Combine(tempDirectory, "in");

// Extract all .dll-s, one per directory, so we can ensure there's no name conflicts
foreach ((int index, ZipArchiveEntry dllEntry) in dllEntries.Index())
{
string destinationFolder = Path.Combine(tempDirectory, index.ToString("000"));
string destinationFolder = Path.Combine(assembliesDirectory, index.ToString("000"));

_ = Directory.CreateDirectory(destinationFolder);

Expand Down
Loading