The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

change-assembly-version-plugin

changeAsmVer: Change Assembly Version

This build step can be used to change the version in the AssemblyInfo.cs file from a .NET Project, it's going to find every AssemblyInfo.cs file in the workspace and change the version from [AssemblyVersion] and [AssemblyFileVersion] attributes. It's recommended to use this plugin with the auto-generated AssemblyInfo.cs from VisualStudio.
  • versionPattern
    • Type: String
  • assemblyCompany (optional)
    • Type: String
  • assemblyCopyright (optional)
    • Type: String
  • assemblyCulture (optional)
    • Type: String
  • assemblyDescription (optional)
    • Type: String
  • assemblyFile (optional)
    Set the file name to search. If the value is empty the default filename is : **/AssemblyInfo.cs. You can use an ant fileset pattern.
    • Type: String
  • assemblyProduct (optional)
    • Type: String
  • assemblyTitle (optional)
    • Type: String
  • assemblyTrademark (optional)
    • Type: String
  • regexPattern (optional)
    Regex Pattern in which version is stated. Specify this value if you want to use for versioning other than assembly files (e.g. visual studio extensions .vsix). For assembly (.dll) versioning you do not need to specify anything here.
    • Type: String
  • replacementPattern (optional)
    Version value specified in regexPattern will be replaced by this. Use if you want versioning other than assembly files. e.g. "Version(\"%s\")" where %s will be new version number. For assembly (.dll) versioning keep this field blank.
    • Type: String

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.