I've modified the default template to run some custom activities in the build process.
In the build process some CodeAnalysisRuleset files are created and shall be assigned to the corresponding c# projectfiles.
I have implemented two code activies to create (first activity) and assign the rulesets (second activity).
If I run the teambuild, an exception happened ("access denied"). I looked in the source folder on the build agent and the files are readonly.
The two code activities are placed after the "If CreateLabel" - activity because I though the files are already checked out at this point.
When are the files are getting checked out so i can modify them?
Is it the right way to accomplish my goal ?