It was completed by coding the whole part. The basic idea is as follows
- Take latest and run the exsting build script () which produce pdb as well
- At the end of the build script start FxCops using FxCopCmd and get the output to xml file
- Parse the xml and find out the xml message nodes which contains failed reviews
- Extract the code file path from the above xml node
- Map the file path to TFS path (ie c:\code to tfs path starting with $\code)
- Find the last checked in person's details
- Create and assign a bug to that person.
This was specific to our project where we cannot implement the gated checkin due to the large code base and high frequency code check ins. But had to implement automated reviews.
This can be closed