Skip to content

Commit

Permalink
Ensure consistent native extension search order
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Nov 12, 2022
1 parent 35b97e1 commit f046075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Bonsai.Configuration/ConfigurationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public static void SetAssemblyResolve(PackageConfiguration configuration, bool a
var libraryPaths = from folder in configuration.LibraryFolders
where folder.Platform == platform
select folder.Path;
foreach (var libraryPath in libraryPaths.Concat(configuration.ExtensionFolders))
var extensionPaths = configuration.ExtensionFolders.Reverse();
foreach (var libraryPath in libraryPaths.Concat(extensionPaths))
{
var path = libraryPath;
if (!Path.IsPathRooted(path))
Expand Down

0 comments on commit f046075

Please sign in to comment.