Hello,
With the Scanner for MsBuild, your analysis is done in three steps:
You are right that the Scanner for MsBuild is specific to MsBuild. In the pre-build step we set up some MsBuild targets that will collect information during the second step (the MsBuild build step). And in the post-build step we do analysis/processing based on what was collected during the build.
So the Scanner for MsBuild won't work with NAnt. I'm unsure about the Scanner for Ant, I doubt that any of us have tried to use it with NAnt.
What is the reason why you're using NAnt?
Tamas