Exemple #1
0
        public DllConfiguration GetDllMap([NotNull] Assembly assembly)
        {
            var mapPath = GetDllMapPath(assembly);

            if (!File.Exists(mapPath))
            {
                throw new FileNotFoundException("Could not find a DllMap file associated with the assembly.", mapPath);
            }

            return(DllConfiguration.Parse(File.ReadAllText(mapPath)));
        }
 public DllConfiguration GetDllMap([NotNull] Assembly assembly)
 {
     return(DllConfiguration.Parse(File.ReadAllText(GetDllMapPath(assembly))));
 }