Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{jenkins-plugin-info:pluginId=change-assembly-version-plugin}

This plug-in change the \ [AssemblyVersion\] and \ [AssemblyFileVersion\] from AssemblyInfo.cs sources.

Excerpt

Wiki Markup

Description

The plugin will change the AssemblyVersion of all files named AssemblyInfo.cs (or other inserted) under the workspace folder.
It's recommended use the plugin with the default templates that are generated with visual studio.

...

  • %s in "ReplacementPattern" field will be replaced by "Assembly Version" field (uses java format string variables)
  • You can use regex grouping also: 
    • Wiki MarkupRegexPattern:
      No Format
      Assembly(\w*)Version\("\[0-9\*\.\]+"\)
    • ReplacementPattern:
      No Format
      Assembly$1Version("%s")

This will find both AssemblyVersion and AssemblyFileVersion and replace with the version specified in "Assembly Version" field.

...