Ejemplo n.º 1
0
 public static IDictionary<Assembly, string> CheckInstalledAssemblies(string devenvdir, Assembly[] asms)
 {
     return asms.ToDictionary(asm => asm, asm =>
         AssemblyInstaller.IsInstalledInGac(asm) ? "GAC" :
         AssemblyInstaller.IsInstalledAsVSPrivate(asm, devenvdir) ? "Priv" :
         AssemblyInstaller.InstallAsVSPrivate2(asm, devenvdir) ? "Priv" : "missing");
 }