TeamCity's AssemblyInfo patcher's number format

后端 未结 3 1391

I once had TeamCity + WiX + MSBuild Community Tasks working. Now that I\'ve upgraded to WiX 3.5, I can\'t remember how I had configured it. :) As I was poking through Tea

相关标签:
3条回答
  • 2021-01-05 08:19

    Hmmm haven't seen AssemblyInfo Patcher but you can do it manually using MsBuild and Regex:

    http://jonalb.com/post/2010/10/04/Automatic-Versioning-using-TeamCity-an-MSBuild.aspx

    0 讨论(0)
  • 2021-01-05 08:31

    Try including the full intended version number as part of your format:

    1.0.0.%build.vcs.number.1%
    
    0 讨论(0)
  • 2021-01-05 08:34

    The assembly info patcher only patches the complete version string at once. But the system variable build.number can be generated from the "general" page of the build configuration, like this: General settings

    When you specify %build.number% as your AssemblyInfo version, it will pick up the combined number from your General settings page.Assermbly info patcher

    0 讨论(0)
提交回复
热议问题