protected override void ExecuteTask() { Options options = new Options(); options.BuildNumberType = BuildNumberType.Fixed; options.InputFilename = this.File; options.OutputFilename = this.File; options.RevisionNumberType = RevisionNumberType.Increment; options.AttributeName = "AssemblyVersion"; RunUpdateVersion version = new RunUpdateVersion(); version.execute(options); }
protected override void ExecuteTask() { Options options = new Options(); options.BuildNumberType = BuildNumberType.Fixed; options.InputFilename = this.File; options.OutputFilename = this.File; options.ReplacementVersion = this.Version; options.AttributeName = "AssemblyInformationalVersion"; RunUpdateVersion version = new RunUpdateVersion(); version.execute(options); }