How to run meta inspector on program?

I'd like to run a program that will inspect certain rules are being followed in code.  For example, if the architecture is MVC, I want to make sure that there are no components from the View being used in the Controller.  This rule is a matter of checking that "Using MyApp.View" isn't in any of the Controller assembly files and also there are no direct references to this namespace in inline code.  How would I go about doing that type of inspection?

The program will run through Nant or post build in VS.NET.
Who is Participating?
daveamourConnect With a Mentor Commented:
brettrAuthor Commented:
You mean adding custom rules?  Any examples?
No sorry I just suspected it might be the right tool but don't actually have much experience with it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.