Skip to content

Commit

Permalink
Merge pull request #804 from openmod/revert_to_fix_reload
Browse files Browse the repository at this point in the history
Revert remove of InstallAssemblyResolver
  • Loading branch information
Trojaner committed Feb 5, 2024
2 parents 91aceff + a150bf2 commit fe5241c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/OpenMod.Runtime/Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public void Init(List<Assembly> openModAssemblies, RuntimeInitParameters paramet
nugetPackageManager.Logger = new OpenModNuGetLogger(m_LoggerFactory!.CreateLogger("NuGet"));

await nugetPackageManager.RemoveOutdatedPackagesAsync();
nugetPackageManager.InstallAssemblyResolver();
nugetPackageManager.SetAssemblyLoader(Hotloader.LoadAssembly);

var startupContext = new OpenModStartupContext
Expand Down

0 comments on commit fe5241c

Please sign in to comment.