alkampfer on February 25th, 2010

A good option to customize TFS2010 build workflow is creating a Custom Activity, an operation that is quite different from creating a Custom Code Activity. A custom activity does not contain any code at all and it is only composed by sub activities. This kind of customization is really useful to create pieces of workflow [...]



kick it on DotNetKicks.com

Continue reading about Writing a custom Activity for TFS 2010 Build workflow

alkampfer on January 27th, 2010

TypeMock Isolator is a good library to inject mock objects without the need of interfaces, but what happens when you try to run test that uses typemock isolator inside a tfs 2010 build? Clearly the tests will not succeed
 
If you look at test result you can check why the tests are failing

Ok, the [...]



kick it on DotNetKicks.com

Continue reading about Run test with TypeMockIsolator during a tfs2010 build

alkampfer on January 19th, 2010

If you have an MSBuild custom task that you want to reuse in a TFS 2010 build workflow, you have two solution. The first is using the MsBuild activity as I described in this post, but this approach has a lot of limitations.
First of all it is clumsy, because you have to pass custom task [...]



kick it on DotNetKicks.com

Continue reading about Wrap a MsBuild Custom task inside a custom action

alkampfer on January 18th, 2010

Some time ago I blogged about logging in custom action for TFS build 2010, I left out some details. Suppose you want to create a warning or an error and not a simple message, you need to create a specialized version of the LogWarning that logs a real warning.

You can do the same with [...]



kick it on DotNetKicks.com

Continue reading about Log warning and errors in a custom action

alkampfer on January 18th, 2010

To test a little bit how you can log information during a TFS 2010 build you can create a simple activity , this activity simply has a Message property and log three messages, at different BuildMessageImportance level

The utility function is the following one

Really simple isn’t it? . Now you need to insert [...]



kick it on DotNetKicks.com

Continue reading about Set verbosity of logging during Tfs 2010 build