I'm trying to get a post-build event up and running which will get the contents of FxCop warnings/errors into the Error List
This is my post-build event commandline:
"$(ProgramFiles)\Microsoft FxCop 10.0\FxCopCmd.exe" /file:"$(TargetPath)" /console
I've succeeded in that regard, but in the Location column, the errors just say [Location not stored in Pdb]
, which isn't what I'm looking for. The relevant PDB file is present.
I've implemented the steps here but that is for a previous version of FxCop and it hasn't solved the problem.
I'm using Visual Studio 2010 Professional.
Here is a sample of the Error List window:
TIA