views:

10

answers:

0

I am working on an automation project using team build 2010. I am wanting to update my build definition while the build is running with information that is supplied from one of my custom activities.

So for example, I am going to have an argument in the team build definition that contains version information for the project. When the build definition is run, the version will increment and update all of the AssemblyInfo.cs files in the given solution. I have this portion of the project done.

Now I want to update the build definition arguments with the new version number, programatically. Does anyone have experience with this in Visual Studio 2010? Any snippets or sample code that could be provided would be greatly appreciated.

Thank you!

Shane