Inheritance: IDisposable
示例#1
0
 private static void InstallAssembly(Kernel kernel)
 {
     Publish publish = new Publish();
     string file = kernel.CommandLine["install"];
     //Console.WriteLine(".."+file+"..");
     publish.GacInstall(file);
 }
示例#2
0
		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("");
		}
示例#3
0
		private static void RemoveAssembly(Kernel kernel)
		{
			Publish publish = new Publish();
			string file = kernel.CommandLine["remove"];
			publish.GacRemove(file);
		}