Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }