/// <summary> /// Copies the version resource information from the CA module to /// the CA package. This gives the package the file version and /// description of the CA module, instead of the version and /// description of SfxCA.dll. /// </summary> private static void CopyVersionResource(string sourceFile, string destFile) { log.WriteLine("Copying file version info from {0} to {1}", sourceFile, destFile); ResourceCollection rc = new ResourceCollection(); rc.Find(sourceFile, ResourceType.Version); rc.Load(sourceFile); rc.Save(destFile); }