Beispiel #1
0
        private string GetAssemblyFullPath(string path)
        {
            if (ModuleUtils.IsAbosolutePath(path))
            {
                return(File.Exists(path) ? path : null);
            }
            string fullPath = null;

            foreach (string libDir in _instanceLibDir)
            {
                fullPath = ModuleUtils.GetFileFullPath(path, libDir);
                if (null != fullPath)
                {
                    return(fullPath);
                }
            }
            fullPath = ModuleUtils.GetFileFullPath(path, _platformLibDir);
            if (null != fullPath)
            {
                return(fullPath);
            }
            fullPath = ModuleUtils.GetFileFullPath(path, _dotNetLibDir);
            return(fullPath);
        }