コード例 #1
0
        public static void AlterManifest(Action<PackageManifest> alteration)
        {
            var fileSystem = new FileSystem();
            var manifest = fileSystem.LoadPackageManifestFrom(StagingDirectory);

            alteration(manifest);

            fileSystem.WriteObjectToFile(StagingDirectory.AppendPath(PackageManifest.FILE), manifest);
        }