Version and Variables

  1. How can I read AssemblyNumber from AssenmblyInfo.cs or from dll in Continua CI? FinalBuilder allows to do this very easily. 

    2. Can I set configuration variable value from PowerShell action ?

    3. I can put FinalBuilder variable from continua CI action, but can I set continua CI variable from executed FinalBuilder action variable ?

    Thanks for the answers

Hi Ethan,

Please see the following answers to your questions:

1. Although Continua CI has an action for updating the AssemblyInfo files, it doesn’t have an action for reading values from these files. We recommend that you use FinalBuilder to do this. We hope that you will use Continua CI with FinalBuilder instead of as a replacement. Therefore, we have only implemented a subset of the actions available in FinalBuilder. Obviously, you can also do this using a PowerShell script.

2. You can use Custom Log Messages to update build variables from a PowerShell script 

write-Host "@@continua[setVariable name=‘versionNumber’ value=’$versionNumber ']"

3. FinalBuilder has a “Continua CI - Set Variable” action specifically for this purpose.