// // Totally minimal GAC installer for the shared assembly // that handles the call bridge. Reason for putting it into // the shared cache is that each GHC-compiled app using the bridge // will depend on it, leaving xcopy-like installation less desirable. // (think: DLL H*** all over again.) // using System; using System.EnterpriseServices.Internal; namespace GacInst { class App { [STAThread] static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: gacInst "); return; } Publish publish = new Publish(); publish.GacInstall(System.IO.Directory.GetCurrentDirectory() + "\\" + args[0]); } }; }