Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AssemblyInfo Updater

This action allows you to update one or more AssemblyInfo source files. Supported languages are C#, VB.NET, F#, J#, C++ and Delphi.NET.

Image Added

Name

A friendly name for this action (will be displayed in the actions workflow area).

Enabled

Determines if this action will be run within the relevant stage.

AssemblyInfo Files

Image Removed

AssemblyInfo File(s)

Enter the full path and file name to the assembly. Put each assembly file on a new line.

...

Enter the property and value in the format AssemblyTitle:"MyApplication" or AssemblyTitle:MyApplication. Each  Each property and value pair must be entered on a new line. Please enter quotes around values as required by each property - Continua will add any missing quotes when updating an existing property but not when inserting new properties.

All properties specified will be applied to all AssemblyInfo files specified abovein the AssemblyInfo Files field. You can use Ant Patterns to specify a list of files.

For a list of properties you can update, see http://msdn.microsoft.com/en-us/library/4w8c1y2s.aspx. Remember to strip off the "Attribute" word at the end of the class name.

The most commonly used properties are: AssemblyCompanyAssemblyProductAssemblyCopyrightAssemblyFileVersionAssemblyVersion (cannot contain spaces).

Update Only

Update the properties and don't add new ones.


Options

Image Added

Update properties found within comments

Tick to update properties found within comments.

Create Backup

The assemblyinfo AssemblyInfo file will be copied to <filename>.bak

...

The updated properties will be put in the build log for later viewing.

Verbose logging

Tick to request verbose command line output.

Ignore warnings

If this is ticked, any warnings logged will not mark the action with a warning status.