I'm using MSBuild with the community tasks under TeamCity.
Just like Garrett in this thread, I update my AssemblyInfo.cs files, and then commit them.
In the solution at hand, I've got five AssemblyInfo.cs files, but only four get committed using this MSBuild code:
<Target Name="VersionCommit" DependsOnTargets="Version">
<ItemGroup>
<AssemblyInfoFiles Include="**/Properties/AssemblyInfo.cs;" />
</ItemGroup>
<SvnCommit Message="Updated verions in AssemblyInfo files."
Username="cc"
Targets="@(AssemblyInfoFiles)">
</SvnCommit>
</Target>
I've verified that the RegEx pattern above works, i.e. finds all five files.
Any ideas why one of the files doesn't get committed?
This is embarrassing...
The RegEx pattern worked alright, but a bug in another RegEx used for actually updating the files didn't make the missing file dirty as it was supposed to.