I am new to TeamCity and would like some assistance with parameters.
I have successfully been able to pass parameters from TeamCity into my MSBuild. For example, I have a parameter of system.Configuration set up where I can specify Debug or Release - and MSBuild reads this into the $(Configuration) parameter.
Now I am trying to feed data the other way. In my MSBuild task, I have the following defined:
<Output TaskParameter="Assemblies" ItemName="MyAssemblyInfo" />
Within the MSBuild script I am able to use this as a task parameter (for example %(MyAssemblyInfo.Version) returns the version number of the assembly). How can I read this same version number into TeamCity so that I can use this in subsequent steps of the build process?
Thanks in Advance