Allow AssemblyInfo patcher to be a build step

The AssemblyInfo patcher build feature is a great tool.  However, I need it to run _after_ I run my first build step. The reason is that I need to run a build step to create and set my build number, outside of the scope of what TeamCity can do out of the box.  In that case, AssemblyInfo patcher is unusable because the patcher always runs prior to any of my build steps.

0
1 comment

Hi Chris,

thanks for your suggestion. A couple comments: First, please send the feature request to our issue tracker here: https://youtrack.jetbrains.com/issues/TW. That way you will be informed of its progress.

Second, you can do this already in a slightly different way. Instead of having a single build configuration with the multiple build steps, you can extract the first build step to a separate build configuration, and set a snapshot dependency to it. That way, you can set the build number as a dependency parameter, and still use the current iteration of the AssemblyInfo Patcher. More information on snapshot dependencies here: https://confluence.jetbrains.com/display/TCD10/Snapshot+Dependencies

0

Please sign in to leave a comment.