Hi Pooja,
If you have the VS installed, you could use the code analysis function. It embeds the FxCop directly into the VS IDE, it run the code analysis at build time. I mean that we would enable the code analysis function for every project. For detailed information,
see
Code Analysis for Managed Code Overview.
Not the TFS-Build expert, but it seems that we could analyze different solutions for code analysis with some settings in it, and maybe you could post a issue to the
TFS-Build forum.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
