public static string RemapDllLocation(string dllLocation) { string fileName = Path.GetFileName(dllLocation); string path = ModuleManager.CombinePaths(Path.GetDirectoryName(dllLocation), "Standalone", fileName); if (File.Exists(path)) { return(path); } return(dllLocation); }
public static string RemapDllLocation(string dllLocation) { string fileName = Path.GetFileName(dllLocation); string directoryName = Path.GetDirectoryName(dllLocation); string text = ModuleManager.CombinePaths(new string[] { directoryName, "Standalone", fileName }); if (File.Exists(text)) { return(text); } return(dllLocation); }