Skip to content

Commit

Permalink
[wasm] Sort Assembly List in WASM Apps (#39374)
Browse files Browse the repository at this point in the history
Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
  • Loading branch information
mdh1418 and Mitchell Hwang authored Jul 20, 2020
1 parent 945beee commit a366d63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class WasmAppBuilder : Task
public ITaskItem[]? FilesToIncludeInFileSystem { get; set; }
public ITaskItem[]? RemoteSources { get; set; }

Dictionary<string, Assembly>? _assemblies;
SortedDictionary<string, Assembly>? _assemblies;
Resolver? _resolver;

public override bool Execute ()
Expand All @@ -42,7 +42,7 @@ public override bool Execute ()
throw new ArgumentException($"File MainJS='{MainJS}' doesn't exist.");

var paths = new List<string>();
_assemblies = new Dictionary<string, Assembly>();
_assemblies = new SortedDictionary<string, Assembly>();

// Collect and load assemblies used by the app
foreach (var v in AssemblySearchPaths!)
Expand Down

0 comments on commit a366d63

Please sign in to comment.