private static void InstallAssembly(Kernel kernel) { Publish publish = new Publish(); string file = kernel.CommandLine["install"]; //Console.WriteLine(".."+file+".."); publish.GacInstall(file); }
private static void OutputTargets(Kernel kern) { Console.WriteLine("Targets available in Prebuild:"); Console.WriteLine(""); if(kern.Targets.Keys.Count > 0) { string[] targs = new string[kern.Targets.Keys.Count]; kern.Targets.Keys.CopyTo(targs, 0); Array.Sort(targs); foreach(string target in targs) { Console.WriteLine(target); } } Console.WriteLine(""); }
private static void RemoveAssembly(Kernel kernel) { Publish publish = new Publish(); string file = kernel.CommandLine["remove"]; publish.GacRemove(file); }