Conditionally execute a task after building a solution with MSBuild + TFS

Posted by SoMoS on Stack Overflow See other posts from Stack Overflow or by SoMoS
Published on 2011-01-10T16:20:27Z Indexed on 2011/01/10 20:54 UTC
Read the original article Hit count: 306

Filed under:
|
|

Hello,

I'm using MSBuild with TFS and I have to build 4 solutions. When the compilation is done I should launch upon to 4 different Exec tasks depending on wherever the compilation was successful or not.

I know how to do that with MSBuild alone using targets with conditions using the var $(BuildBreak) because I can do build solution - check result - exec task - build ... but I don't know how to do that with the TFS extensions ... any help will be very appreciated.

Thanks mates.

© Stack Overflow or respective owner

Related posts about tfs

Related posts about msbuild