From 945a7121e4f4133a06ae62605bdd62be3a28c0ae Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Sat, 22 Feb 2014 13:15:52 +1300 Subject: [PATCH] Fix OpenRA.Utility not being able to locate mod assemblies on Windows. Fixes #4498 --- OpenRA.Utility/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index a6ef3850b4..87d4fd0929 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -39,6 +39,8 @@ namespace OpenRA.Utility { if (args.Length == 0) { PrintUsage(); return; } + AppDomain.CurrentDomain.AssemblyResolve += FileSystem.ResolveAssembly; + Log.LogPath = Platform.SupportDir + "Logs" + Path.DirectorySeparatorChar; try