Assembly patching didn't work after updating build number

goldsmith.mike's Avatar


10 Apr, 2017 09:45 AM


I have setup my project to update the AppVeyor build number on repository tags, however the assembly patching did not apply correctly. The following build has a tag of "2.4.3" but the binaries have a file and assembly version of The Update-AppVeyor command seems to seems to have worked correctly because the artifacts are named correctly.

This is the link to my appveyor.yml


  1. Support Staff 1 Posted by Feodor Fitsner on 10 Apr, 2017 11:35 PM

    Feodor Fitsner's Avatar

    Hi Mike,

    Try using this instead:

      patch: true
      file: '**\AssemblyInfo.*'
      assembly_version: '%APPVEYOR_BUILD_VERSION%'
      assembly_file_version: '%APPVEYOR_BUILD_VERSION%'
      assembly_informational_version: '%APPVEYOR_BUILD_VERSION%'

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac