Can TeamCity retrieve the version from a project’s AssemblyInfo.cs? If so, is there documentation on that process? I know with Maven projects the plugin can pull a version from a POM file and then you can use that as part of your artifact name. We’d like to do something similar with our .NET applications where we pull the assembly version from the project itself and append the TC build number on the end for our artifacts. So far we’ve managed to use a service message via the Project file to send the version, but have determined this to not be a valid path as it would require us to edit all project files across all projects.
↧