TeamCity is a great CI tool, and we also use Semantic Versioning to manage our DLL version for a long time, now we are going to combine TeamCity and Semantic Versioning together, meanwhile we are doing some research on this topic, Let say version information, for example
MajorVersion.MinorVersion.PatchVersion.BuildNumber
In the buildNumber file, we always use the teamcity build number and the other 3 versions that we support in assemblyinfo.cs the question is here: how can we use the teamcity command to supply our build number in assemblyinfo.cs, I can find Msbuild to support this parameter, and Is there any best practice for handling the same? and we would also like to transfer the entire version to nuget packages in the form of published version information to our developers
thanks a lot
source share