I am using the default template (tfvsTemplate.12.xaml) to customize my build.
I want to auto increment the AssemblyVersion build number in our nightly deployment builds.
I set it up as recommended here:https://github.com/tfsbuildextensions/CustomActivities/wiki/Getting%20started%20with%20the%20AssemblyInfo%20activity
except for one step.
in my template, I was unable to find the "Get Workspace" activity, so I put my sequence a after the
"Get sources from Team Foundation Version Control" --> "Associate the changesets that occurred since the last good build" activities.I have the "find matching files" activity looking in the WellKnownEnvironmentVariables.SourcesDirectory.
the build runs correctly, and the log shows that it updating the correct file, however the assembly version number and the assembly file number are not incrementing (both are set to "$(current).$(current).$(current).$(increment)").
on thought I had is that the file may be read only, and may need that changed to work correctly.
Can someone please review and let me know what I'm doing wrong?